Remove the super float from non-Sonic characters

Should fix conflicts with Lua-scripted jump spin abilities.
This commit is contained in:
wolfy852 2016-04-30 14:59:51 -05:00
parent 6fcb6d27fe
commit 969a254cb6
1 changed files with 1 additions and 1 deletions

View File

@ -6842,7 +6842,7 @@ static void P_MovePlayer(player_t *player)
}
}
// Super Sonic move
if (player->charflags & SF_SUPER && player->powers[pw_super] && player->speed > FixedMul(5<<FRACBITS, player->mo->scale)
if (player->skin == 0 && player->powers[pw_super] && player->speed > FixedMul(5<<FRACBITS, player->mo->scale)
&& P_MobjFlip(player->mo)*player->mo->momz <= 0)
{
if (player->panim == PA_ROLL || player->mo->state == &states[S_PLAY_PAIN])