mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-18 02:21:47 +00:00
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:
parent
2d01e3f045
commit
899123c58a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue