[10657] Separate quest_template.QuestFlags from SpecialFlags

Create enum for SpecialFlags (database flags and internally computed)
Added related functions for specialFlags and update code accordingly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-10-30 01:13:45 +02:00
parent 1210c6d978
commit b6e367bf3c
8 changed files with 78 additions and 74 deletions

View file

@ -41,7 +41,7 @@ Quest::Quest(Field * questRecord)
SuggestedPlayers = questRecord[16].GetUInt32();
LimitTime = questRecord[17].GetUInt32();
QuestFlags = questRecord[18].GetUInt16();
uint32 SpecialFlags = questRecord[19].GetUInt16();
SpecialFlags = questRecord[19].GetUInt16();
CharTitleId = questRecord[20].GetUInt32();
PlayersSlain = questRecord[21].GetUInt32();
BonusTalents = questRecord[22].GetUInt32();