mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-22 08:34:50 +00:00
reg3:: added the missing destructor to hrmap_closed3
This commit is contained in:
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user