mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-09 01:22:53 +00:00
Oh. Sorry.
This commit is contained in:
parent
0a44158db9
commit
644aebac80
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…
Add table
Reference in a new issue