[8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete
commit2938a47e8ba75ed49608c2b536e1af3a824d608a
authorVladimirMangos <vladimir@getmangos.com>
Wed, 1 Jul 2009 07:05:55 +0000 (1 11:05 +0400)
committertomrus88 <tomrus88@gmail.com>
Thu, 2 Jul 2009 05:18:42 +0000 (2 09:18 +0400)
tree47e2f73698403cc59af4781cc0bb4c97458cf1b9
parentd1323897019f96bf60d959a87f2964816f6fee69
[8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete

* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
* Create Gameobject version to make GO with owner more safe for remove
15 files changed:
src/game/BattleGround.cpp
src/game/GameEventMgr.cpp
src/game/GameObject.cpp
src/game/GameObject.h
src/game/Level2.cpp
src/game/Map.cpp
src/game/Object.cpp
src/game/Object.h
src/game/Pet.cpp
src/game/Player.cpp
src/game/PoolHandler.cpp
src/game/TemporarySummon.cpp
src/game/Totem.cpp
src/game/Vehicle.cpp
src/shared/revision_nr.h