mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 08:57: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:
@@ -585,10 +585,6 @@ struct hrmap_archimedean : hrmap {
|
||||
}
|
||||
|
||||
~hrmap_archimedean() {
|
||||
if(hyperbolic) for(auto& p: archimedean_gmatrix) if(p.second.first->cdata) {
|
||||
delete p.second.first->cdata;
|
||||
p.second.first->cdata = NULL;
|
||||
}
|
||||
clearfrom(origin);
|
||||
altmap.clear();
|
||||
archimedean_gmatrix.clear();
|
||||
|
Reference in New Issue
Block a user