From fe20a35aee95b62f256abdd0ad5bf6caba9216f4 Mon Sep 17 00:00:00 2001 From: Nipples the Enchilada Date: Sat, 7 May 2016 04:51:54 -0400 Subject: [PATCH] Disable camera rotate buttons if you aren't viewing yourself They don't affect what you're viewing anyway and cause cam_rotate to get messed up. --- src/p_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index 4aca886b8..9fee0fc36 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -7993,7 +7993,7 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall thiscam->angle = angle; } - if (!objectplacing && !(twodlevel || (mo->flags2 & MF2_TWOD)) && !(player->pflags & PF_NIGHTSMODE)) + if (!objectplacing && !(twodlevel || (mo->flags2 & MF2_TWOD)) && !(player->pflags & PF_NIGHTSMODE) && displayplayer == consoleplayer) { #ifdef REDSANALOG if ((player->cmd.buttons & (BT_CAMLEFT|BT_CAMRIGHT)) == (BT_CAMLEFT|BT_CAMRIGHT)); else