Disable the aggro meter timer if it's not enabled

This commit is contained in:
Michael Cook (mackal) 2017-02-20 18:41:17 -05:00
parent f0f5c41c30
commit 46b19e8e6f

View File

@ -8775,8 +8775,10 @@ void Client::CheckRegionTypeChanges()
void Client::ProcessAggroMeter()
{
if (!AggroMeterAvailable())
if (!AggroMeterAvailable()) {
aggro_meter_timer.Disable();
return;
}
// we need to decide if we need to send OP_AggroMeterTargetInfo now
// This packet sends the current lock target ID and the current target ID