1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 10:17:56 +00:00

fieldval_uniq moved to virtual method pattern_value

This commit is contained in:
Zeno Rogue
2024-10-11 12:31:34 +02:00
parent 2e2dc2aac0
commit 08d73c507f
9 changed files with 88 additions and 41 deletions

View File

@@ -888,6 +888,11 @@ struct hrmap_archimedean : hrmap {
return C0;
}
int pattern_value(cell *c) override {
if(sphere) return c->master->fiftyval;
return hrmap::pattern_value(c);
}
};
EX hrmap *new_map() { return new hrmap_archimedean; }