From 404d09e35a6823736203700391b4875909cf0b31 Mon Sep 17 00:00:00 2001
From: Louis-Antoine <lamr@free.fr>
Date: Mon, 25 Nov 2019 17:23:35 +0100
Subject: [PATCH] Do not focus the camera on the end sign if exitmove is active

---
 src/p_user.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/p_user.c b/src/p_user.c
index ed2a1a446b..d649c5679d 100644
--- a/src/p_user.c
+++ b/src/p_user.c
@@ -9654,7 +9654,8 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
 
 	if (player->exiting)
 	{
-		if (mo->target && mo->target->type == MT_SIGN && mo->target->spawnpoint)
+		if (mo->target && mo->target->type == MT_SIGN && mo->target->spawnpoint
+		&& !(gametype == GT_COOP && (netgame || multiplayer) && cv_exitmove.value))
 			sign = mo->target;
 		else if ((player->powers[pw_carry] == CR_NIGHTSMODE)
 		&& !(player->mo->state >= &states[S_PLAY_NIGHTS_TRANS1]
-- 
GitLab