[8704] Fixed crash "Object with certain key already in but objects are different!"
commit71564dbc7b90f2bd6b6b90735810de1fd61e631e
authorVladimirMangos <vladimir@getmangos.com>
Thu, 22 Oct 2009 02:32:37 +0000 (22 06:32 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Thu, 22 Oct 2009 02:43:23 +0000 (22 06:43 +0400)
tree6f55b6cb6d82ae96f9546828d2cdf39e15c3c0b0
parent8ddaa2e3fda967def2d984fe121a90e14b3e85e6
[8704] Fixed crash "Object with certain key already in but objects are different!"

* It possible in result events
1) creature move from respawn grid
2) respawn grid unloaded by timeout, but not current grid for creature
3) respawn grid loaded before current grid with creture unload
4) duplicate attempt created in old grid

Until recent guid storage move to map we create duplicate creature with same (continent) or diff guid.
With diff strange possible result in it work in world.
src/game/ObjectGridLoader.cpp
src/shared/revision_nr.h