[8023] Move guardian list at Unit level and unsummon guardians at owner-creature...
commit9a0ec3ce13705720aeca589961f6af6dd97b8718
authorVladimirMangos <vladimir@getmangos.com>
Mon, 15 Jun 2009 19:43:15 +0000 (15 23:43 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Mon, 15 Jun 2009 19:46:13 +0000 (15 23:46 +0400)
tree65930e74d73270e0d367f3ae506ae2711d500d26
parent43a9170a4c2aa84e7432f2b4e4d97daa28ee3c7d
[8023] Move guardian list at Unit level and unsummon guardians at owner-creature death/unload.

This expected to fix well known crash at intances unload with creature with summoned guardians.
Note: this "fix" special case but not original source of problem in general.
src/game/Player.cpp
src/game/Player.h
src/game/SpellEffects.cpp
src/game/Unit.cpp
src/game/Unit.h
src/shared/revision_nr.h