forked from Mirrors/openclonk
Savegames: Remove outdated assertion
Scenarios are now loaded with the same flags they were saved with. Thus, the objectlist is told to skip player objects while loading. But this can be safely ignored, because the scenario shouldn't contain any player objects that could be ignored in the first place. But checking that loading and saving is done with the same flag would be nice.
parent
fff38554d7
commit
952b180ac1
|
@ -521,8 +521,8 @@ void C4ObjectList::CompileFunc(StdCompiler *pComp, bool fSkipPlayerObjects, C4Va
|
|||
}
|
||||
else
|
||||
{
|
||||
// this mode not supported
|
||||
assert(!fSkipPlayerObjects);
|
||||
// FIXME: Check that no PlayerObjects are loaded when fSkipPlayerObjects is true
|
||||
// i.e. that loading and saving was done with the same flag.
|
||||
// Remove previous data
|
||||
Clear();
|
||||
// Load objects, add them to the list.
|
||||
|
|
Loading…
Reference in New Issue