rulegen:: adj for floorshapes

This commit is contained in:
Zeno Rogue 2021-07-29 16:15:05 +02:00
parent 1ca7175e56
commit c996805533
1 changed files with 3 additions and 0 deletions

View File

@ -1421,6 +1421,9 @@ struct hrmap_rulegen : hrmap {
}
transmatrix adj(heptagon *h, int dir) override {
if(h->fieldval == -1)
return arb::get_adj(arb::current_or_slided(), h->zebraval, dir, -1);
int s = h->fieldval;
int dir0 = get_arb_dir(s, dir);