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

fixed reflection facing in Hall of Mirrors

This commit is contained in:
Zeno Rogue 2020-01-18 17:12:37 +01:00
parent ca3232c3bb
commit 3daa6cd34c

View File

@ -2447,6 +2447,8 @@ void celldrawer::draw() {
if(cw2.mirrored != cw.mirrored) V = V * Mirror;
if(cw2.spin) V = V * spin(2*M_PI*cw2.spin/cw2.at->type);
cw2.spin = 0;
dynamicval<transmatrix> dc(cwtV, cwtV);
cwtV = V * inverse(gmatrix0[c]) * cwtV;
drawcell(cw2.at, V);
inmirrorcount -= cmc;
return;