fix complevel 3 in demo footer, whitespace

This commit is contained in:
Roman Fomin 2023-06-13 10:00:32 +07:00
parent 4cfe6a4d69
commit 14e55738d9
2 changed files with 4 additions and 7 deletions

View File

@ -1102,7 +1102,7 @@ static void InitGameVersion(void)
} }
else else
{ {
gameversion = exe_ultimate; gameversion = exe_ultimate;
} }
} }
else if (gamemode == commercial) else if (gamemode == commercial)

View File

@ -3867,12 +3867,9 @@ static size_t WriteCmdLineLump(MEMFILE *stream)
if (demo_compatibility) if (demo_compatibility)
{ {
if (gameversion == exe_doom_1_9) if (gameversion == exe_doom_1_9)
{ mem_fputs(" -complevel 2", stream);
if (gamemode == commercial) else if (gameversion == exe_ultimate)
mem_fputs(" -complevel 2", stream); mem_fputs(" -complevel 3", stream);
else
mem_fputs(" -complevel 3", stream);
}
else if (gameversion == exe_final) else if (gameversion == exe_final)
mem_fputs(" -complevel 4", stream); mem_fputs(" -complevel 4", stream);
} }