From 159b47e72a6c1cfc0fa950ff8741bf62f0bdc7eb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 10 May 2024 19:29:01 +0200 Subject: [PATCH] full_rotate_camera no longer reacts to val==0 --- control.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/control.cpp b/control.cpp index 405f57bb..9707a4a3 100644 --- a/control.cpp +++ b/control.cpp @@ -376,6 +376,7 @@ EX void full_ystrafe_camera(ld t) { EX ld third_person_rotation = 0; EX void full_rotate_camera(int dir, ld val) { + if(!val) return; if(rug::rug_control() && lshiftclick) { val *= camera_rot_speed; hyperpoint h;