1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

fixed the E2xE raycaster

This commit is contained in:
Zeno Rogue 2021-04-30 19:45:22 +02:00
parent 639122e314
commit 6e94d7346e

View File

@ -1612,6 +1612,8 @@ struct raycast_map {
return;
}
transmatrix T = currentmap->iadj(c, i) * inverse(ms[wo + i]);
if(in_e2xe() && i >= c->type-2)
T = Id;
for(int k=0; k<=isize(ms); k++) {
if(k < isize(ms) && !eqmatrix(ms[k], T)) continue;
if(k == isize(ms)) ms.push_back(T);