G_SetGameModified exists for this very purpose, use the srb2kart/rr function signature version instead of direct write to modifiedgame

This commit is contained in:
toaster 2025-08-25 18:36:01 +01:00
parent 8bd29a1011
commit b119341948

View file

@ -959,8 +959,7 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup, const
if (important && !mainfile)
{
//G_SetGameModified(true);
modifiedgame = true; // avoid savemoddata being set to false
G_SetGameModified(true, false);
}
//