1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-19 14:54:07 +00:00

fixed matrix sequence in rug.cpp

This commit is contained in:
Zeno Rogue 2019-06-28 10:00:37 +02:00
parent a2073d97a2
commit 76d82d4e9a

View File

@ -1621,7 +1621,7 @@ void actDraw() {
last_orientation = getOrientation(); last_orientation = getOrientation();
else { else {
transmatrix next_orientation = getOrientation(); transmatrix next_orientation = getOrientation();
apply_rotation(inverse(last_orientation) * next_orientation); apply_rotation(inverse(next_orientation) * last_orientation);
last_orientation = next_orientation; last_orientation = next_orientation;
} }
#endif #endif