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

linepatterns:: patTriRings now works with a4

This commit is contained in:
Zeno Rogue 2018-07-10 18:03:58 +02:00
parent f94c85a4fa
commit 489b9a328d

View File

@ -1891,8 +1891,11 @@ namespace linepatterns {
break;
case patTriRings:
forCellEx(c2, c) if(c2 > c) if(gmatrix.count(c2) && celldist(c) == celldist(c2))
queuelinef(tC0(V), gmatrix[c2]*C0, col, 2);
forCellIdEx(c2, i, c) {
if(S3 == 4) c2 = (cellwalker(c, i) + wstep + 1 + wstep).c;
if(c2 > c) if(gmatrix.count(c2) && celldist(c) == celldist(c2))
queuelinef(tC0(V), gmatrix[c2]*C0, col, 2);
}
break;
case patHepta: