fixed monster facing displayed in embedded_in product

This commit is contained in:
Zeno Rogue 2022-12-17 20:37:07 +01:00
parent e68c807f68
commit 8884fbc11f
1 changed files with 1 additions and 1 deletions

View File

@ -1697,7 +1697,7 @@ EX void apply_shift_object(transmatrix& Position, const transmatrix orientation,
}
EX void rotate_object(transmatrix& Position, transmatrix& orientation, transmatrix R) {
if(gproduct) orientation = orientation * R;
if(gproduct && WDIM == 3) orientation = orientation * R;
else Position = Position * R;
}