Fix double delete

This commit is contained in:
kaetemi 2014-09-21 12:31:02 +02:00
parent e8799f08aa
commit d9819abd11

View file

@ -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;
}
}