mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Players carried by Pterabyte cannot adjust their angle and are in their falling state
This commit is contained in:
parent
b9c3f72112
commit
2f4edc0cb9
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…
Reference in a new issue