Fix for glitchy mercenary unsuspend button behavior (report any abnormalities)

This commit is contained in:
Uleat 2017-03-18 16:11:07 -04:00
parent bafb199d24
commit d882c5fbf6

View File

@ -625,7 +625,7 @@ bool Client::Save(uint8 iCommitNow) {
GetMercInfo().MercTimerRemaining = GetMercTimer()->GetRemainingTime();
}
if (!(GetMerc() && !dead)) {
if (dead || (!GetMerc() && !GetMercInfo().IsSuspended)) {
memset(&m_mercinfo, 0, sizeof(struct MercInfo));
}