mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Fix a crash caused by my previous commit.
This commit is contained in:
@@ -2392,7 +2392,6 @@ void Creature::FarTeleportTo(Map* map, float X, float Y, float Z, float O)
|
||||
{
|
||||
CleanupBeforeRemoveFromMap(false);
|
||||
GetMap()->RemoveFromMap(this, false);
|
||||
ResetMap();
|
||||
Relocate(X, Y, Z, O);
|
||||
SetMap(map);
|
||||
GetMap()->AddToMap(this);
|
||||
|
||||
Reference in New Issue
Block a user