mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 16:38:43 +00:00
Fix double delete
This commit is contained in:
parent
e85b225937
commit
6fe3fc3e35
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ int main(int argc, char* argv[])
|
|||
catch(const EStream &)
|
||||
{
|
||||
mustRebuild = true; // damaged file or bad version ? -> force rebuild
|
||||
delete packedIsland; // remove whatever was serialized
|
||||
// delete packedIsland; // remove whatever was serialized // NOPE. smart pointer
|
||||
packedIsland = new CPackedWorldHolder;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue