mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-13 10:50:35 +00:00
fixed rotate view
This commit is contained in:
parent
86492d1181
commit
2999818eaf
@ -431,7 +431,7 @@ EX void full_rotate_view(ld h, ld v) {
|
|||||||
if(history::on && !rug::rug_control())
|
if(history::on && !rug::rug_control())
|
||||||
models::rotation += h * camera_rot_speed;
|
models::rotation += h * camera_rot_speed;
|
||||||
else {
|
else {
|
||||||
rotate_view(spin(v * camera_rot_speed));
|
rotate_view(cspin(0, 1, v * camera_rot_speed));
|
||||||
didsomething = true;
|
didsomething = true;
|
||||||
if(isGravityLand(cwt.at->land) && !rug::rug_control())
|
if(isGravityLand(cwt.at->land) && !rug::rug_control())
|
||||||
playermoved = false;
|
playermoved = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user