1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 02:50:34 +00:00

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

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) { 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; else Position = Position * R;
} }