mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[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:
parent
1210c6d978
commit
b6e367bf3c
8 changed files with 78 additions and 74 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue