mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
rulegen:: adj for floorshapes
This commit is contained in:
parent
1ca7175e56
commit
c996805533
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user