mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-23 15:06:15 +00:00
Players carried by Pterabyte cannot adjust their angle and are in their falling state
This commit is contained in:
parent
370e50837e
commit
5bfe79047a
1 changed files with 3 additions and 2 deletions
|
|
@ -11179,6 +11179,7 @@ void P_PlayerThink(player_t *player)
|
|||
/* FALLTHRU */
|
||||
case CR_MINECART:
|
||||
case CR_GENERIC:
|
||||
case CR_PTERABYTE:
|
||||
player->drawangle = player->mo->tracer->angle;
|
||||
break;
|
||||
case CR_ROLLOUT:
|
||||
|
|
@ -11970,8 +11971,8 @@ void P_PlayerAfterThink(player_t *player)
|
|||
if (P_AproxDistance(player->mo->x - ptera->x, player->mo->y - ptera->y) > player->mo->radius)
|
||||
goto dropoff;
|
||||
|
||||
if (player->mo->state-states != S_PLAY_RIDE)
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_RIDE);
|
||||
if (player->mo->state-states != S_PLAY_FALL)
|
||||
P_SetPlayerMobjState(player->mo, S_PLAY_FALL);
|
||||
break;
|
||||
|
||||
dropoff:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue