[10658] Add enum as argument for quest special/flags functions

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-10-30 01:46:51 +02:00
parent b6e367bf3c
commit 506e93d15d
5 changed files with 22 additions and 24 deletions

View file

@ -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;