diff options
author | megamage <none@none> | 2009-04-29 00:26:07 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-29 00:26:07 -0500 |
commit | de11b9e901d1d1caa0634fad541f08f11c5781af (patch) | |
tree | e35503d08ef545e668b8d854da41e0ea6aba3b3b /src/game/QuestDef.cpp | |
parent | 9dd4b8c98599b0bdccea7b9acb61cb4e7a35da8f (diff) |
[7730] Some optimizantion and code style. Author: zhenya
--HG--
branch : trunk
Diffstat (limited to 'src/game/QuestDef.cpp')
-rw-r--r-- | src/game/QuestDef.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/QuestDef.cpp b/src/game/QuestDef.cpp index 799896c8280..8099bf40e88 100644 --- a/src/game/QuestDef.cpp +++ b/src/game/QuestDef.cpp @@ -133,7 +133,7 @@ Quest::Quest(Field * questRecord) m_rewitemscount = 0; m_rewchoiceitemscount = 0; - for (int i=0; i < QUEST_OBJECTIVES_COUNT; i++) + for (int i=0; i < QUEST_OBJECTIVES_COUNT; ++i) { if ( ReqItemId[i] ) ++m_reqitemscount; @@ -141,13 +141,13 @@ Quest::Quest(Field * questRecord) ++m_reqCreatureOrGOcount; } - for (int i=0; i < QUEST_REWARDS_COUNT; i++) + for (int i=0; i < QUEST_REWARDS_COUNT; ++i) { if ( RewItemId[i] ) ++m_rewitemscount; } - for (int i=0; i < QUEST_REWARD_CHOICES_COUNT; i++) + for (int i=0; i < QUEST_REWARD_CHOICES_COUNT; ++i) { if (RewChoiceItemId[i]) ++m_rewchoiceitemscount; |