TrinityCore/TrinityCore — Issue #3453: [CrashFix]  on Remove/Add creature from/to map when it changes map.
Author: cyberbrest
Created: 2011-10-11 09:52:53+00:00
State: open

In - 3569121d80d92a08ff64e6af0a79be95a8188634
ResetMap already used on RemoveFromMap

```
diff -r 4df53ff01de7 src/server/game/Entities/Creature/Creature.cpp
--- a/src/server/game/Entities/Creature/Creature.cpp	Tue Oct 11 12:12:54 2011 +0300
+++ b/src/server/game/Entities/Creature/Creature.cpp	Tue Oct 11 12:50:39 2011 +0300
@@ -2405,7 +2405,6 @@
{
CleanupBeforeRemoveFromMap(false);
GetMap()->RemoveFromMap(this, false);
- ResetMap();
Relocate(X, Y, Z, O);
SetMap(map);
GetMap()->AddToMap(this);
```