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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user