REPO: Code-style clean-ups

* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go

~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
This commit is contained in:
Bootz
2011-10-07 19:45:43 -05:00
parent c89b1f6989
commit 5b4c7783c2
324 changed files with 4886 additions and 4849 deletions
+3 -3
View File
@@ -354,10 +354,10 @@ public:
if (Teleport_Timer <= diff)
{
//temp solution - unit can't be teleported by core using spelleffect 5, only players
Map* pMap = me->GetMap();
if (pMap)
Map* map = me->GetMap();
if (map)
{
pMap->CreatureRelocation(me, 3706.39f, -3969.15f, 35.9118f, 0);
map->CreatureRelocation(me, 3706.39f, -3969.15f, 35.9118f, 0);
me->AI_SendMoveToPacket(3706.39f, -3969.15f, 35.9118f, 0, 0, 0);
}
//begin swimming and summon depth charges