mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
reg3:: added the missing destructor to hrmap_closed3
This commit is contained in:
parent
1529986d6a
commit
e6879ee806
4
reg3.cpp
4
reg3.cpp
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user