Fixed an issue where Mercenaries were causing several DB queries per second while suspended.

This commit is contained in:
Trevius
2015-01-25 11:28:34 -06:00
parent 5266d7b25c
commit 966acb25b3
3 changed files with 7 additions and 8 deletions
+1 -4
View File
@@ -233,10 +233,7 @@ bool Client::Process() {
if(GetMercInfo().MercTemplateID != 0 && GetMercInfo().IsSuspended)
{
if(p_timers.Expired(&database, pTimerMercSuspend, false))
{
CheckMercSuspendTimer();
}
CheckMercSuspendTimer();
}
if(IsAIControlled())