mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-19 08:38:20 +00:00
Fix for glitchy mercenary unsuspend button behavior (report any abnormalities)
This commit is contained in:
+1
-1
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user