Guard against eaStanding spam

This commit is contained in:
Michael Cook (mackal) 2015-05-17 23:51:24 -04:00
parent 2308d3e880
commit 79a87fac1d

View File

@ -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();