1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 02:17:40 +00:00

fixed some bugs with which_copy -- now should consistently use the View coordinate system

This commit is contained in:
Zeno Rogue
2021-05-30 13:00:42 +02:00
parent 855d2f66c3
commit 95b4ad28b9
4 changed files with 34 additions and 15 deletions

View File

@@ -1894,8 +1894,9 @@ void celldrawer::bookkeeping() {
else {
playerV = V * ddspin(c, cwt.spin, 0);
if(cwt.mirrored) playerV = playerV * Mirror;
if((!confusingGeometry() && !fake::split() && !inmirrorcount) || eqmatrix(unshift(V), current_display->which_copy, 1e-2))
current_display->which_copy = unshift(V);
transmatrix F = back_to_view(V);
if((!confusingGeometry() && !fake::split() && !inmirrorcount) || eqmatrix(F, current_display->which_copy, 1e-2))
current_display->which_copy = F;
if(orig) cwtV = playerV;
}
}