mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-17 11:30:09 +00:00
fixed grid drawing
This commit is contained in:
parent
baffb16e83
commit
d049cb63af
@ -4780,8 +4780,8 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
else {
|
else {
|
||||||
for(int t=0; t<c->type; t++)
|
for(int t=0; t<c->type; t++)
|
||||||
if(c->move(t) && c->move(t) < c)
|
if(c->move(t) && c->move(t) < c)
|
||||||
queueline(V * get_corner_position(c, (t+c->type-1)%c->type),
|
queueline(V * get_corner_position(c, t%c->type),
|
||||||
V * get_corner_position(c, t%c->type),
|
V * get_corner_position(c, (t+1)%c->type),
|
||||||
gridcolor(c, c->move(t)), prec);
|
gridcolor(c, c->move(t)), prec);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user