mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-16 09:02:06 +00:00
Restore CR_FAN application for fan sectors
This commit is contained in:
parent
612424e2e2
commit
b7dd3ac4bf
1 changed files with 6 additions and 2 deletions
|
@ -4965,9 +4965,13 @@ static void P_EvaluateSpecialFlags(player_t *player, sector_t *sector, sector_t
|
|||
if (player->mo->momz > mobjinfo[MT_FAN].mass)
|
||||
player->mo->momz = mobjinfo[MT_FAN].mass;
|
||||
|
||||
P_ResetPlayer(player);
|
||||
if (player->panim != PA_FALL)
|
||||
if (!player->powers[pw_carry])
|
||||
{
|
||||
P_ResetPlayer(player);
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_FALL);
|
||||
P_SetTarget(&player->mo->tracer, player->mo);
|
||||
player->powers[pw_carry] = CR_FAN;
|
||||
}
|
||||
}
|
||||
if (sector->specialflags & SSF_SUPERTRANSFORM)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue