Fix uninit group value

This commit is contained in:
Michael Cook (mackal) 2017-03-18 00:54:03 -04:00
parent 3173c961fa
commit 13f49fe569

View File

@ -47,6 +47,7 @@ Group::Group(uint32 gid)
AssistTargetID = 0;
TankTargetID = 0;
PullerTargetID = 0;
disbandcheck = false;
memset(&LeaderAbilities, 0, sizeof(GroupLeadershipAA_Struct));
uint32 i;
@ -79,6 +80,7 @@ Group::Group(Mob* leader)
AssistTargetID = 0;
TankTargetID = 0;
PullerTargetID = 0;
disbandcheck = false;
memset(&LeaderAbilities, 0, sizeof(GroupLeadershipAA_Struct));
mentoree = nullptr;
uint32 i;