aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-01 18:23:36 -0500
committermegamage <none@none>2009-07-01 18:23:36 -0500
commit111dac5f94eac3fe26da2107842dea4e1aacd660 (patch)
tree94749b7199a4f0bb2f2826824261e49a85f84082 /src/game/Object.cpp
parent9a2588a454af73fb1f6c456275ba07e6acc24d11 (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.cpp4
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);