Fix HP/Mana/Endurance updates for group/raids when entering-leaving zone and when initially being added to group/raid

This commit is contained in:
Akkadius
2017-07-10 20:40:32 -05:00
parent c6c6d00bad
commit 122e71f4a3
3 changed files with 55 additions and 31 deletions
+9
View File
@@ -583,8 +583,17 @@ void Client::CompleteConnect()
if (raid->IsLocked())
raid->SendRaidLockTo(this);
raid->SendHPPacketsTo(this);
}
}
else {
Group *group_update = nullptr;
group_update = this->GetGroup();
if (group_update)
group_update->SendHPPacketsTo(this);
}
//bulk raid send in here eventually