Move the extra appearance packet guard to SetAppearance

This commit is contained in:
Michael Cook (mackal)
2015-05-18 00:04:55 -04:00
parent 79a87fac1d
commit 553b7c9f8c
3 changed files with 7 additions and 12 deletions
+1 -2
View File
@@ -712,8 +712,7 @@ bool Mob::MakeNewPositionAndSendUpdate(float x, float y, float z, float speed, b
// force an update now
move_tic_count = RuleI(Zone, NPCPositonUpdateTicCount);
SendPosUpdate();
if (GetAppearance() != eaStanding)
SetAppearance(eaStanding, false);
SetAppearance(eaStanding, false);
}
pLastChange = Timer::GetCurrentTime();