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
1 changed files with 4 additions and 0 deletions

View File

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