SERVER: Restore dual wield frame updates

This commit is contained in:
Steam Deck User 2023-01-13 12:44:11 -05:00
parent 33de260a56
commit e1a11cbcb7

View file

@ -108,10 +108,11 @@ void () W_Frame_Update =
if (self.anim_weapon_time > time)
return; //don't call every frame, if it is the animations will play too fast
if (IsDualWeapon(self.weapon))
W2_Frame_Update();
self.anim_weapon_time = time + self.weapon_animduration;
if (self.weaponframe != self.weaponframe_end && !self.anim_reversed)
{ // continue an animation
@ -161,6 +162,7 @@ void () W_Frame_Update =
temp(S_RIGHT);
}
if (!IsDualWeapon(self.weapon))
W2_Frame_Update();
};