mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
* 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:
parent
f1387a07a1
commit
b71cf97cac
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue