1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 11:44:48 +00:00

fixed rotate view

This commit is contained in:
Zeno Rogue 2022-12-29 20:50:17 +01:00
parent 86492d1181
commit 2999818eaf

View File

@ -431,7 +431,7 @@ EX void full_rotate_view(ld h, ld v) {
if(history::on && !rug::rug_control())
models::rotation += h * camera_rot_speed;
else {
rotate_view(spin(v * camera_rot_speed));
rotate_view(cspin(0, 1, v * camera_rot_speed));
didsomething = true;
if(isGravityLand(cwt.at->land) && !rug::rug_control())
playermoved = false;