More animation packet reductions, DoAnim is called in many other places in combat than just AttackAnimation

This commit is contained in:
Akkadius
2017-07-10 20:41:56 -05:00
parent 122e71f4a3
commit 62e4169e50
2 changed files with 7 additions and 3 deletions
+3
View File
@@ -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();