mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Fix for glitchy mercenary unsuspend button behavior (report any abnormalities)
This commit is contained in:
parent
bafb199d24
commit
d882c5fbf6
@ -625,7 +625,7 @@ bool Client::Save(uint8 iCommitNow) {
|
|||||||
GetMercInfo().MercTimerRemaining = GetMercTimer()->GetRemainingTime();
|
GetMercInfo().MercTimerRemaining = GetMercTimer()->GetRemainingTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(GetMerc() && !dead)) {
|
if (dead || (!GetMerc() && !GetMercInfo().IsSuspended)) {
|
||||||
memset(&m_mercinfo, 0, sizeof(struct MercInfo));
|
memset(&m_mercinfo, 0, sizeof(struct MercInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user