From 899123c58a186045f6738d742ef5084225c36e10 Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Tue, 5 Jul 2016 23:20:59 +0100 Subject: [PATCH] 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.) --- src/p_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_inter.c b/src/p_inter.c index 9d6230cb2..ebdf0b272 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -2704,7 +2704,7 @@ static inline void P_SuperDamage(player_t *player, mobj_t *inflictor, mobj_t *so 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); else P_SetPlayerMobjState(player->mo, player->mo->info->painstate);