mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[10658] Add enum as argument for quest special/flags functions
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
b6e367bf3c
commit
506e93d15d
5 changed files with 22 additions and 24 deletions
|
|
@ -40,8 +40,8 @@ Quest::Quest(Field * questRecord)
|
|||
RequiredMaxRepValue = questRecord[15].GetInt32();
|
||||
SuggestedPlayers = questRecord[16].GetUInt32();
|
||||
LimitTime = questRecord[17].GetUInt32();
|
||||
QuestFlags = questRecord[18].GetUInt16();
|
||||
SpecialFlags = questRecord[19].GetUInt16();
|
||||
m_QuestFlags = questRecord[18].GetUInt16();
|
||||
m_SpecialFlags = questRecord[19].GetUInt16();
|
||||
CharTitleId = questRecord[20].GetUInt32();
|
||||
PlayersSlain = questRecord[21].GetUInt32();
|
||||
BonusTalents = questRecord[22].GetUInt32();
|
||||
|
|
@ -137,8 +137,6 @@ Quest::Quest(Field * questRecord)
|
|||
QuestStartScript = questRecord[139].GetUInt32();
|
||||
QuestCompleteScript = questRecord[140].GetUInt32();
|
||||
|
||||
QuestFlags |= SpecialFlags << 24;
|
||||
|
||||
m_reqitemscount = 0;
|
||||
m_reqCreatureOrGOcount = 0;
|
||||
m_rewitemscount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue