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.
This commit is contained in:
Nipples the Enchilada 2016-05-07 04:51:54 -04:00
parent 1c81f192d8
commit fe20a35aee
1 changed files with 1 additions and 1 deletions

View File

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