mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 10:11:37 +00:00
Disable the aggro meter timer if it's not enabled
This commit is contained in:
+3
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user