diff options
Diffstat (limited to 'src/game/QuestDef.cpp')
-rw-r--r-- | src/game/QuestDef.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/QuestDef.cpp b/src/game/QuestDef.cpp index 23222831fc4..7f3bda0682d 100644 --- a/src/game/QuestDef.cpp +++ b/src/game/QuestDef.cpp @@ -151,19 +151,19 @@ Quest::Quest(Field * questRecord) for (int i=0; i < QUEST_ITEM_OBJECTIVES_COUNT; ++i) { - if ( ReqItemId[i] ) + if (ReqItemId[i]) ++m_reqitemscount; } for (int i=0; i < QUEST_OBJECTIVES_COUNT; ++i) { - if ( ReqCreatureOrGOId[i] ) + if (ReqCreatureOrGOId[i]) ++m_reqCreatureOrGOcount; } for (int i=0; i < QUEST_REWARDS_COUNT; ++i) { - if ( RewItemId[i] ) + if (RewItemId[i]) ++m_rewitemscount; } @@ -174,9 +174,9 @@ Quest::Quest(Field * questRecord) } } -uint32 Quest::XPValue( Player *pPlayer ) const +uint32 Quest::XPValue(Player *pPlayer) const { - if ( pPlayer ) + if (pPlayer) { const QuestXPEntry *xpentry; |