Fix double delete
--HG-- branch : develop
This commit is contained in:
parent
779b0c22bc
commit
cec992c4a5
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ int main(int argc, char* argv[])
|
||||||
catch(const EStream &)
|
catch(const EStream &)
|
||||||
{
|
{
|
||||||
mustRebuild = true; // damaged file or bad version ? -> force rebuild
|
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;
|
packedIsland = new CPackedWorldHolder;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue