mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
in rotate_view do not change which_copy when in rug::rugged
This commit is contained in:
parent
81350f4e51
commit
4cde3e0984
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user