mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
More animation packet reductions, DoAnim is called in many other places in combat than just AttackAnimation
This commit is contained in:
@@ -1568,6 +1568,9 @@ void Mob::ShowStats(Client* client)
|
||||
}
|
||||
|
||||
void Mob::DoAnim(const int animnum, int type, bool ackreq, eqFilterType filter) {
|
||||
if (!attack_anim_timer.Check())
|
||||
return;
|
||||
|
||||
auto outapp = new EQApplicationPacket(OP_Animation, sizeof(Animation_Struct));
|
||||
Animation_Struct* anim = (Animation_Struct*)outapp->pBuffer;
|
||||
anim->spawnid = GetID();
|
||||
|
||||
Reference in New Issue
Block a user