diff options
| author | megamage <none@none> | 2009-07-01 18:23:36 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-07-01 18:23:36 -0500 |
| commit | 111dac5f94eac3fe26da2107842dea4e1aacd660 (patch) | |
| tree | 94749b7199a4f0bb2f2826824261e49a85f84082 /src/game/OutdoorPvP.cpp | |
| parent | 9a2588a454af73fb1f6c456275ba07e6acc24d11 (diff) | |
[8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete Author: VladimirMangos
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
* Create Gameobject version to make GO with owner more safe for remove
--HG--
branch : trunk
Diffstat (limited to 'src/game/OutdoorPvP.cpp')
| -rw-r--r-- | src/game/OutdoorPvP.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/OutdoorPvP.cpp b/src/game/OutdoorPvP.cpp index fd1cf87e6d6..3e0239935aa 100644 --- a/src/game/OutdoorPvP.cpp +++ b/src/game/OutdoorPvP.cpp @@ -116,7 +116,6 @@ bool OPvPCapturePoint::DelCreature(uint32 type) // Don't save respawn time cr->SetRespawnTime(0); cr->RemoveCorpse(); - cr->CleanupsBeforeDelete(); // explicit removal from map // beats me why this is needed, but with the recent removal "cleanup" some creatures stay in the map if "properly" deleted // so this is a big fat workaround, if AddObjectToRemoveList and DoDelayedMovesAndRemoves worked correctly, this wouldn't be needed |
