1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 10:19:58 +00:00

anim:: -animrot needs angles in 3D

This commit is contained in:
Zeno Rogue 2019-03-21 19:18:29 +01:00
parent d9317dcae7
commit ac7c902f0b

View File

@ -1004,6 +1004,10 @@ int readArgs() {
} }
else if(argis("-animrot")) { else if(argis("-animrot")) {
ma = maRotation; ma = maRotation;
if(DIM == 3) {
shift_arg_formula(movement_angle);
shift_arg_formula(normal_angle);
}
} }
else if(argis("-animrug")) { else if(argis("-animrug")) {
shift_arg_formula(rug_rotation1); shift_arg_formula(rug_rotation1);