Commit 73786efa authored by Gerhard Stein's avatar Gerhard Stein

Savegame load algorithm updated

parent 7cb4fd3c
......@@ -261,10 +261,7 @@ bool CMapPlayGalaxy::operator<<(CSaveGameController &savedGame)
savedGame.decodeData( actionNumber );
obj.setActionForce(actionNumber);
// remove non existing objects, they only are problematic
if(obj.dead)
obj.exists = false;
// remove non existing objects, we don't need them
if(!obj.exists)
mObjectPtr.pop_back();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment