mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Guard against eaStanding spam
This commit is contained in:
parent
2308d3e880
commit
79a87fac1d
@ -712,6 +712,7 @@ bool Mob::MakeNewPositionAndSendUpdate(float x, float y, float z, float speed, b
|
|||||||
// force an update now
|
// force an update now
|
||||||
move_tic_count = RuleI(Zone, NPCPositonUpdateTicCount);
|
move_tic_count = RuleI(Zone, NPCPositonUpdateTicCount);
|
||||||
SendPosUpdate();
|
SendPosUpdate();
|
||||||
|
if (GetAppearance() != eaStanding)
|
||||||
SetAppearance(eaStanding, false);
|
SetAppearance(eaStanding, false);
|
||||||
}
|
}
|
||||||
pLastChange = Timer::GetCurrentTime();
|
pLastChange = Timer::GetCurrentTime();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user