diff options
author | maximius <none@none> | 2009-10-17 16:20:24 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 16:20:24 -0700 |
commit | 3f338cc1c328c7280957583b50598292cd8fb64b (patch) | |
tree | ca209c2cd024e3902b7844b3224bceff7c5bb570 /src/game/Debugcmds.cpp | |
parent | e585187b248f48b3c6e9247b49fa07c6565d65e5 (diff) |
*Massive cleanup redux.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r-- | src/game/Debugcmds.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp index 97f90e33af4..e016d8c98b0 100644 --- a/src/game/Debugcmds.cpp +++ b/src/game/Debugcmds.cpp @@ -465,7 +465,7 @@ bool ChatHandler::HandleDebugGetItemStateCommand(const char* args) if (list_queue) { std::vector<Item *> &updateQueue = player->GetItemUpdateQueue(); - for(size_t i = 0; i < updateQueue.size(); ++i) + for (size_t i = 0; i < updateQueue.size(); ++i) { Item *item = updateQueue[i]; if(!item) continue; @@ -608,7 +608,7 @@ bool ChatHandler::HandleDebugGetItemStateCommand(const char* args) } } - for(size_t i = 0; i < updateQueue.size(); ++i) + for (size_t i = 0; i < updateQueue.size(); ++i) { Item *item = updateQueue[i]; if(!item) continue; @@ -669,7 +669,7 @@ bool ChatHandler::HandleDebugThreatList(const char * /*args*/) std::list<HostilReference*>::iterator itr; uint32 cnt = 0; PSendSysMessage("Threat list of %s (guid %u)",target->GetName(), target->GetGUIDLow()); - for(itr = tlist.begin(); itr != tlist.end(); ++itr) + for (itr = tlist.begin(); itr != tlist.end(); ++itr) { Unit* unit = (*itr)->getTarget(); if(!unit) @@ -901,7 +901,7 @@ bool ChatHandler::HandleDebugSetAuraStateCommand(const char* args) if (!state) { // reset all states - for(int i = 1; i <= 32; ++i) + for (int i = 1; i <= 32; ++i) unit->ModifyAuraState(AuraState(i),false); return true; } |