[9392] Update creature/gameobject pool at despawn instead spawn prepare.
commitdc0b7ce8a835d257cf383c72ade7476682879da8
authorLynx3d <Lynx3d@getmangos.com>
Mon, 15 Feb 2010 18:15:57 +0000 (15 21:15 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Mon, 15 Feb 2010 18:43:06 +0000 (15 21:43 +0300)
treee4b8933c01b118a0f00877f7467d8bb580bb3853
parentfc68c44e0def3d27f4530dd1897219964e900952
[9392] Update creature/gameobject pool at despawn instead spawn prepare.

This let solve problem with not despawned creature/gameobject at pool update in case when related grid not loaded.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
src/game/Creature.cpp
src/game/GameEventMgr.cpp
src/game/GameObject.cpp
src/game/PoolManager.cpp
src/game/PoolManager.h
src/shared/revision_nr.h