Fix a crash caused by my previous commit.

This commit is contained in:
megamage
2011-10-11 08:47:36 -04:00
parent 8540b367de
commit edc46d5606
@@ -2392,7 +2392,6 @@ void Creature::FarTeleportTo(Map* map, float X, float Y, float Z, float O)
{ {
CleanupBeforeRemoveFromMap(false); CleanupBeforeRemoveFromMap(false);
GetMap()->RemoveFromMap(this, false); GetMap()->RemoveFromMap(this, false);
ResetMap();
Relocate(X, Y, Z, O); Relocate(X, Y, Z, O);
SetMap(map); SetMap(map);
GetMap()->AddToMap(this); GetMap()->AddToMap(this);