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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user