mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 19:31:05 +00:00
A better check than for skin==0.
This commit is contained in:
parent
6abd4d20d3
commit
5ad7fc8495
1 changed files with 1 additions and 1 deletions
|
@ -7080,7 +7080,7 @@ static void P_MovePlayer(player_t *player)
|
|||
|
||||
if ((cmd->buttons & BT_JUMP) && (player->pflags & PF_THOKKED) && !player->homing) // Super Sonic move
|
||||
{
|
||||
if (player->skin == 0 && player->powers[pw_super] && player->speed > FixedMul(5<<FRACBITS, player->mo->scale)
|
||||
if ((player->charability == CA_THOK) && player->powers[pw_super] && player->speed > FixedMul(5<<FRACBITS, player->mo->scale)
|
||||
&& P_MobjFlip(player->mo)*player->mo->momz <= 0)
|
||||
{
|
||||
if (player->mo->state-states == S_PLAY_PAIN || player->panim == PA_JUMP || player->panim == PA_FALL
|
||||
|
|
Loading…
Reference in a new issue