Players carried by Pterabyte cannot adjust their angle and are in their falling state

This commit is contained in:
MascaraSnake 2019-10-05 20:29:47 +02:00
parent b9c3f72112
commit 2f4edc0cb9
1 changed files with 3 additions and 2 deletions

View File

@ -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: