mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Disable the aggro meter timer if it's not enabled
This commit is contained in:
parent
f0f5c41c30
commit
46b19e8e6f
@ -8775,8 +8775,10 @@ void Client::CheckRegionTypeChanges()
|
|||||||
|
|
||||||
void Client::ProcessAggroMeter()
|
void Client::ProcessAggroMeter()
|
||||||
{
|
{
|
||||||
if (!AggroMeterAvailable())
|
if (!AggroMeterAvailable()) {
|
||||||
|
aggro_meter_timer.Disable();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// we need to decide if we need to send OP_AggroMeterTargetInfo now
|
// 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
|
// This packet sends the current lock target ID and the current target ID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user