mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-27 06:54:23 -04:00
fix -complevel parameter in demo footer
This commit is contained in:
parent
22b7b4db45
commit
5383293197
12
src/g_game.c
12
src/g_game.c
@ -3860,13 +3860,15 @@ static size_t WriteCmdLineLump(MEMFILE *stream)
|
|||||||
|
|
||||||
if (demo_compatibility)
|
if (demo_compatibility)
|
||||||
{
|
{
|
||||||
mem_fputs(" -complevel ", stream);
|
|
||||||
if (gameversion == exe_doom_1_9)
|
if (gameversion == exe_doom_1_9)
|
||||||
mem_fputs("3", stream);
|
{
|
||||||
|
if (gamemode == commercial)
|
||||||
|
mem_fputs(" -complevel 2", stream);
|
||||||
|
else
|
||||||
|
mem_fputs(" -complevel 3", stream);
|
||||||
|
}
|
||||||
else if (gameversion == exe_final)
|
else if (gameversion == exe_final)
|
||||||
mem_fputs("4", stream);
|
mem_fputs(" -complevel 4", stream);
|
||||||
else
|
|
||||||
mem_fputs("2", stream);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (coop_spawns)
|
if (coop_spawns)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user