1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-13 19:00:35 +00:00

full_rotate_camera no longer reacts to val==0

This commit is contained in:
Zeno Rogue 2024-05-10 19:29:01 +02:00
parent 9a33e63f53
commit 159b47e72a

View File

@ -376,6 +376,7 @@ EX void full_ystrafe_camera(ld t) {
EX ld third_person_rotation = 0; EX ld third_person_rotation = 0;
EX void full_rotate_camera(int dir, ld val) { EX void full_rotate_camera(int dir, ld val) {
if(!val) return;
if(rug::rug_control() && lshiftclick) { if(rug::rug_control() && lshiftclick) {
val *= camera_rot_speed; val *= camera_rot_speed;
hyperpoint h; hyperpoint h;