From 96d49730dfb5a47e9b2d58cb30940cfab09c689b Mon Sep 17 00:00:00 2001 From: James R Date: Fri, 9 Apr 2021 19:06:56 -0700 Subject: [PATCH] Don't tilt according to slope while spectating --- src/r_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/r_main.c b/src/r_main.c index d8b93144d..f79500910 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -946,7 +946,10 @@ angle_t R_ViewRollAngle(const player_t *player) if (cv_tilting.value) { - roll += player->tilt; + if (!player->spectator) + { + roll += player->tilt; + } if (cv_actionmovie.value) {