Prevent the middle chaingun muzzleflash from animating its position when the player is frozen.

The unmodified behavior is completely wrong and I don't see how any mod could ever use it.

git-svn-id: https://svn.eduke32.com/eduke32@3578 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2013-03-19 06:22:52 +00:00
parent 1ad01dbce4
commit 72156dd4c1

View file

@ -2372,7 +2372,8 @@ void P_DisplayWeapon(int32_t snum)
if (*kb < PWEAPON(0, CHAINGUN_WEAPON, TotalTime)-4)
{
i = rand()&7;
i = 0;
if (sprite[p->i].pal != 1) i = rand()&7;
G_DrawWeaponTile(i+weapon_xoffset-4+162-(p->look_ang>>1),i+looking_arc-((*kb)>>1)+208-gun_pos,
CHAINGUN+5+((*kb-2)/5),gs,o,pal,0);
G_DrawWeaponTile(weapon_xoffset+178-(p->look_ang>>1),looking_arc+233-gun_pos,