[8697] Check creature/GO spawnmask at server loading.
commit7c4a26341fa5b63ea553285ebe4f502f72f15f56
authorVladimirMangos <vladimir@getmangos.com>
Wed, 21 Oct 2009 15:21:07 +0000 (21 19:21 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Wed, 21 Oct 2009 15:25:51 +0000 (21 19:25 +0400)
treebb0bb36a9d4290e1d01ef289a3643e157b0c831a
parent71db6d8b975762336e87cef46032f16cc0d7f689
[8697] Check creature/GO spawnmask at server loading.

Note: this check only out of range value in masks.
And not detect another possible DB problem:

After last client switch spawnmask for raid dengeons need update for correct work.
In expection same spawn for both normal or both heroic modes:
raid normal spawn mask from 1 to 3 (1|2)
raid heroic spawn mask from 2 to 12 (4|8)

In other case heroic spawn will used for 25-normal mode with empty heroic mode instances.
src/game/DBCEnums.h
src/game/ObjectMgr.cpp
src/shared/revision_nr.h