Fix crash during debug when escaping pterabyte

This commit is contained in:
Gustaf Alhäll 2023-04-10 18:31:12 +02:00
parent 3c81938496
commit 4c02bde4e9
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD

View file

@ -12808,7 +12808,7 @@ void P_PlayerAfterThink(player_t *player)
P_KillMobj(ptera, player->mo, player->mo, 0);
P_SetObjectMomZ(player->mo, 12*FRACUNIT, false);
player->pflags |= PF_APPLYAUTOBRAKE|PF_JUMPED|PF_THOKKED;
P_SetMobjState(player->mo, S_PLAY_ROLL);
P_SetPlayerMobjState(player->mo, S_PLAY_ROLL);
break;
}