1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 04:17:58 +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

@@ -1554,6 +1554,11 @@ EX namespace hybrid {
int id = full_shvid(c);
return generate_subcellshape_if_needed(c, id);
}
int pattern_value(cell *c) override {
auto c1 = hybrid::get_where(c).first;
return PIU ( currentmap->pattern_value(c1) );
}
};
hrmap_hybrid* hmap() { return (hrmap_hybrid*) currentmap; }