1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

reg3:: added the missing destructor to hrmap_closed3

This commit is contained in:
Zeno Rogue 2022-08-07 01:42:17 +02:00
parent 1529986d6a
commit e6879ee806

View File

@ -743,6 +743,10 @@ EX namespace reg3 {
void initialize(int cell_count);
vector<cell*>& allcells() override { return acells; }
~hrmap_closed3() {
clearfrom(getOrigin());
}
subcellshape& get_cellshape(cell *c) override {
if(PURE) return *cgi.heptshape ;
int id = local_id.at(c).second;