mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Merge branch 'ptera-escape-bad-state' into 'next'
Fix crash during debug when escaping pterabyte See merge request STJr/SRB2!1960
This commit is contained in:
commit
29582e453d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue