mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-05 11:12:49 +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);
|
void initialize(int cell_count);
|
||||||
vector<cell*>& allcells() override { return acells; }
|
vector<cell*>& allcells() override { return acells; }
|
||||||
|
|
||||||
|
~hrmap_closed3() {
|
||||||
|
clearfrom(getOrigin());
|
||||||
|
}
|
||||||
|
|
||||||
subcellshape& get_cellshape(cell *c) override {
|
subcellshape& get_cellshape(cell *c) override {
|
||||||
if(PURE) return *cgi.heptshape ;
|
if(PURE) return *cgi.heptshape ;
|
||||||
int id = local_id.at(c).second;
|
int id = local_id.at(c).second;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user