1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

in rotate_view do not change which_copy when in rug::rugged

This commit is contained in:
Zeno Rogue 2020-05-15 11:38:52 +02:00
parent 81350f4e51
commit 4cde3e0984

View File

@ -2144,7 +2144,7 @@ EX void rotate_view(transmatrix T) {
if(callhandlers(false, hooks_rotate_view, T)) return; if(callhandlers(false, hooks_rotate_view, T)) return;
transmatrix& which = get_view_orientation(); transmatrix& which = get_view_orientation();
which = T * which; which = T * which;
if(!prod && !nonisotropic) current_display->which_copy = T * current_display->which_copy; if(!prod && !nonisotropic && !rug::rugged) current_display->which_copy = T * current_display->which_copy;
} }
/** shift the view according to the given tangent vector */ /** shift the view according to the given tangent vector */