Player doesn't go into super anims if they're not super, silly.

(This COULD be backported to .16, but I'm not gonna. Boss 5 is taking up all of my attention right now.)
This commit is contained in:
toasterbabe 2016-07-05 23:20:59 +01:00
parent 2d01e3f045
commit 899123c58a

View file

@ -2704,7 +2704,7 @@ static inline void P_SuperDamage(player_t *player, mobj_t *inflictor, mobj_t *so
P_InstaThrust(player->mo, ang, fallbackspeed); P_InstaThrust(player->mo, ang, fallbackspeed);
if (player->charflags & SF_SUPERANIMS) if ((player->charflags & SF_SUPERANIMS) && player->powers[pw_super])
P_SetPlayerMobjState(player->mo, S_PLAY_SUPER_STUN); P_SetPlayerMobjState(player->mo, S_PLAY_SUPER_STUN);
else else
P_SetPlayerMobjState(player->mo, player->mo->info->painstate); P_SetPlayerMobjState(player->mo, player->mo->info->painstate);