* Prevent that GOD AWFUL random camera turn that happens sometimes during the fade after you die (when you input camera turn stuff after death) by locking the camera during PST_REBORN.

* Remove whitespace in P_DeathThink.
This commit is contained in:
toaster 2019-11-26 12:33:56 +00:00
parent f1387a07a1
commit b71cf97cac
1 changed files with 1 additions and 2 deletions

View File

@ -9499,7 +9499,6 @@ static void P_DeathThink(player_t *player)
}
else if ((netgame || multiplayer) && player->deadtimer >= 8*TICRATE)
{
INT32 i, deadtimercheck = INT32_MAX;
// In a net/multiplayer game, and out of lives
@ -9664,7 +9663,7 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
fixed_t f1, f2;
// We probably shouldn't move the camera if there is no player or player mobj somehow
if (!player || !player->mo)
if (!player || !player->mo || player->playerstate == PST_REBORN)
return true;
mo = player->mo;