mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Guard against eaStanding spam
This commit is contained in:
parent
2308d3e880
commit
79a87fac1d
@ -712,7 +712,8 @@ bool Mob::MakeNewPositionAndSendUpdate(float x, float y, float z, float speed, b
|
||||
// force an update now
|
||||
move_tic_count = RuleI(Zone, NPCPositonUpdateTicCount);
|
||||
SendPosUpdate();
|
||||
SetAppearance(eaStanding, false);
|
||||
if (GetAppearance() != eaStanding)
|
||||
SetAppearance(eaStanding, false);
|
||||
}
|
||||
pLastChange = Timer::GetCurrentTime();
|
||||
|
||||
@ -1050,7 +1051,7 @@ void ZoneDatabase::AssignGrid(Client *client, int grid, int spawn2id) {
|
||||
|
||||
if (!results.Success())
|
||||
return;
|
||||
|
||||
|
||||
if (results.RowsAffected() != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user