Leave the camera behind while exiting, for dramatic effect!

This commit is contained in:
TehRealSalt 2018-06-03 21:01:59 -04:00
parent 6d57d39e12
commit fa125bc18d

View file

@ -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))