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/Object.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/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 3561621f0bd..8274797fda4 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1096,6 +1096,10 @@ void WorldObject::setActive( bool on ) } } +void WorldObject::CleanupsBeforeDelete() +{ +} + void WorldObject::_Create( uint32 guidlow, HighGuid guidhigh, uint32 mapid, uint32 phaseMask ) { Object::_Create(guidlow, 0, guidhigh); |