1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 10:27:45 +00:00

fixed cellcount

This commit is contained in:
Zeno Rogue
2020-04-06 09:26:59 +02:00
parent 97fc244ba9
commit b79eb4de1d
3 changed files with 9 additions and 4 deletions

View File

@@ -1147,7 +1147,7 @@ EX namespace hybrid {
~hrmap_hybrid() {
in_underlying([] { delete currentmap; });
for(auto& p: at) tailored_delete(p.second);
for(auto& p: at) destroy_cell(p.second);
}
virtual transmatrix spin_to(cell *c, int d, ld bonus) override { if(d >= c->type-2) return Id; c = get_where(c).first; return in_underlying([&] { return currentmap->spin_to(c, d, bonus); }); }