mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 06:13:18 +00:00
Oh. Sorry.
This commit is contained in:
parent
4292c5fc0b
commit
cb4820c505
1 changed files with 7 additions and 5 deletions
12
src/p_user.c
12
src/p_user.c
|
@ -7220,14 +7220,16 @@ static void P_NiGHTSMovement(player_t *player)
|
||||||
if (gametype != GT_RACE && gametype != GT_COMPETITION)
|
if (gametype != GT_RACE && gametype != GT_COMPETITION)
|
||||||
P_SetObjectMomZ(player->mo, FRACUNIT/2, true);
|
P_SetObjectMomZ(player->mo, FRACUNIT/2, true);
|
||||||
|
|
||||||
if (player->mo->state != &states[S_PLAY_NIGHTS_DRILL6])
|
|
||||||
P_SetPlayerMobjState(player->mo, S_PLAY_NIGHTS_DRILL6);
|
|
||||||
|
|
||||||
player->mo->flags |= MF_NOCLIPHEIGHT;
|
|
||||||
#ifdef ROTSPRITE
|
#ifdef ROTSPRITE
|
||||||
player->mo->rollangle = 0;
|
if (player->mo->state != &states[S_PLAY_NIGHTS_DRILL0])
|
||||||
|
P_SetPlayerMobjState(player->mo, S_PLAY_NIGHTS_DRILL0);
|
||||||
|
player->mo->rollangle = ANGLE_90;
|
||||||
|
#else
|
||||||
|
if (player->mo->state != &states[S_PLAY_NIGHTS_DRILL6])
|
||||||
|
P_SetPlayerMobjState(player->mo, S_PLAY_NIGHTS_DRILL6);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
player->mo->flags |= MF_NOCLIPHEIGHT;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue