diff options
author | maximius <none@none> | 2009-10-27 17:07:40 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-27 17:07:40 -0700 |
commit | 86c7bbc8bb0f48fb98fb8aad7de2a404bd4d00ea (patch) | |
tree | cc35f9ade1b1d831d01544e55e25c11d5ba645f9 /src/game/GameEventMgr.cpp | |
parent | 9bcb6695af74c57b6f089f46e25b023712b8f02a (diff) |
*Cleanup..
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameEventMgr.cpp')
-rw-r--r-- | src/game/GameEventMgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/GameEventMgr.cpp b/src/game/GameEventMgr.cpp index 22a4d7a7f13..640442bf052 100644 --- a/src/game/GameEventMgr.cpp +++ b/src/game/GameEventMgr.cpp @@ -1488,13 +1488,13 @@ bool GameEventMgr::hasGameObjectActiveEventExcept(uint32 go_id, uint16 event_id) return false; } -void GameEventMgr::UpdateEventQuests(uint16 event_id, bool Activate) +void GameEventMgr::UpdateEventQuests(uint16 event_id, bool activate) { QuestRelList::iterator itr; for (itr = mGameEventCreatureQuests[event_id].begin(); itr != mGameEventCreatureQuests[event_id].end(); ++itr) { QuestRelations &CreatureQuestMap = objmgr.mCreatureQuestRelations; - if (Activate) // Add the pair(id,quest) to the multimap + if (activate) // Add the pair(id,quest) to the multimap CreatureQuestMap.insert(QuestRelations::value_type(itr->first, itr->second)); else { @@ -1519,7 +1519,7 @@ void GameEventMgr::UpdateEventQuests(uint16 event_id, bool Activate) for (itr = mGameEventGameObjectQuests[event_id].begin(); itr != mGameEventGameObjectQuests[event_id].end(); ++itr) { QuestRelations &GameObjectQuestMap = objmgr.mGOQuestRelations; - if (Activate) // Add the pair(id,quest) to the multimap + if (activate) // Add the pair(id,quest) to the multimap GameObjectQuestMap.insert(QuestRelations::value_type(itr->first, itr->second)); else { |