mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +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)
|
||||
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
|
||||
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
|
||||
|
||||
player->mo->flags |= MF_NOCLIPHEIGHT;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue