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