* Fixed object is removed from guid->object map but still spawned in world under some conditions
* Fixed possibility to spawn already spawned object
* Fixed objects despawning (missing part for explicitly chanced objects added)
Signed-off-by: ApoC <apoc@nymfe.net>
Rename m_TeamScores500disadvantage to m_TeamScores500Disadvantage, and optimize its update.
Patch is tested.
Signed-off-by: Triply <triply@getmangos.com>
As a result, the last relation that makes the loop is automatically removed.
An error message is displayed and core go on loading remaining records.
Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
Pools inside another pool cannot have a number of spawned objects <> 1 (maxlimit value)
Note: pools in a pool in a pool in a pool... is possible and working,
but circulare inclusion is not detected and will cause a core infinit loop
Signed-off-by: Neo2003 <neo.2003@hotmail.fr>