Core/Quests: initialize Emotes array

Ref #59
This commit is contained in:
ariel-
2016-03-06 03:52:42 -03:00
parent 95b6332bef
commit bf6eb656ee

View File

@@ -30,6 +30,12 @@ Quest::Quest(Field* questRecord)
_rewItemsCount = 0;
_rewChoiceItemsCount = 0;
memset(DetailsEmote, 0, sizeof(DetailsEmote));
memset(DetailsEmoteDelay, 0, sizeof(DetailsEmoteDelay));
memset(OfferRewardEmote, 0, sizeof(OfferRewardEmote));
memset(OfferRewardEmoteDelay, 0, sizeof(OfferRewardEmoteDelay));
Id = questRecord[0].GetUInt32();
Method = questRecord[1].GetUInt8();
Level = questRecord[2].GetInt16();