From fa125bc18d967519e3d20ca6d84761617566542c Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sun, 3 Jun 2018 21:01:59 -0400 Subject: [PATCH] Leave the camera behind while exiting, for dramatic effect! --- src/p_user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_user.c b/src/p_user.c index e4af0d62..8a9f2437 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -8304,6 +8304,9 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall subsector_t *newsubsec; fixed_t f1, f2; + if (player->exiting) // SRB2Kart: Leave the camera behind while exiting, for dramatic effect! + return true; + cameranoclip = (player->pflags & (PF_NOCLIP|PF_NIGHTSMODE)) || (player->mo->flags & (MF_NOCLIP|MF_NOCLIPHEIGHT)); // Noclipping player camera noclips too!! if (!(player->climbing || (player->pflags & PF_NIGHTSMODE) || player->playerstate == PST_DEAD))