Core/Quests: initialize Emotes array

Ref #59
This commit is contained in:
ariel- committed 2016-03-06 03:52:42 -03:00
1 parent 95b6332bef
commit bf6eb656ee
1 file changed
+6
+6
View File
@@ -30,6 +30,12 @@ Quest::Quest(Field* questRecord)
_rewItemsCount = 0; _rewItemsCount = 0;
_rewChoiceItemsCount = 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(); Id = questRecord[0].GetUInt32();
Method = questRecord[1].GetUInt8(); Method = questRecord[1].GetUInt8();
Level = questRecord[2].GetInt16(); Level = questRecord[2].GetInt16();