mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 15:20:27 +00:00
patterns now use the same color for the whole apeirogon
This commit is contained in:
parent
59078497dd
commit
a2f0f89c18
@ -1767,6 +1767,11 @@ EX namespace patterns {
|
||||
|
||||
int i = callhandlers(-1, hooks_generate_canvas, c);
|
||||
if(i != -1) return i;
|
||||
if(arb::is_apeirogonal(c)) {
|
||||
for(cell *c1: {c->move(c->type-1), c->move(c->type-2), c->cmove(c->type-1)->move(c->type-1), c->cmove(c->type-2)->move(c->type-2)})
|
||||
if(c1 && c1->mpdist <= BARLEV) return c1->landparam;
|
||||
}
|
||||
|
||||
switch(whichCanvas) {
|
||||
#if CAP_CRYSTAL
|
||||
case 'K': case '#': case '=': case 'O': case '/': case '@':
|
||||
|
Loading…
Reference in New Issue
Block a user