mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Only set flight time to 0 if skin has SPR2_SWIM spriteset.
This commit is contained in:
parent
e993b8981e
commit
a8a8ae0d0b
1 changed files with 1 additions and 1 deletions
|
@ -11820,7 +11820,7 @@ void P_PlayerAfterThink(player_t *player)
|
|||
{
|
||||
if (player->mo->state-states != S_PLAY_RIDE)
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_RIDE);
|
||||
if (tails->eflags & MFE_UNDERWATER)
|
||||
if ((tails->skin && ((skin_t *)(tails->skin))->sprites[SPR2_SWIM].numframes) && (tails->eflags & MFE_UNDERWATER))
|
||||
tails->player->powers[pw_tailsfly] = 0;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue