mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-26 03:17:39 +00:00
arcm:: fixed the possible crash on deleting arcms with large cells, because of the confusion of cdata
This commit is contained in:
@@ -694,12 +694,6 @@ struct hrmap_arbi : hrmap {
|
||||
}
|
||||
|
||||
~hrmap_arbi() {
|
||||
/*
|
||||
if(hyperbolic) for(auto& p: arbi_matrix) if(p.second.first->cdata) {
|
||||
delete p.second.first->cdata;
|
||||
p.second.first->cdata = NULL;
|
||||
}
|
||||
*/
|
||||
clearfrom(origin);
|
||||
altmap.clear();
|
||||
arbi_matrix.clear();
|
||||
|
||||
Reference in New Issue
Block a user