mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-21 21:28:33 +00:00
full_rotate_camera no longer reacts to val==0
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user