- Duke: Fix CON parser to detect shareware scripts.

This commit is contained in:
Mitchell Richters 2022-05-29 09:56:56 +10:00
parent 1a788c9ba2
commit 889baeff14

View file

@ -1923,6 +1923,7 @@ int ConCompiler::parsecommand()
{
if (pcount == 30) g_gameType |= GAMEFLAG_PLUTOPAK;
else if (pcount == 31) g_gameType |= GAMEFLAG_PLUTOPAK | GAMEFLAG_WORLDTOUR;
else if (pcount == 22) g_gameType |= GAMEFLAG_SHAREWARE;
else if (pcount != 26) I_FatalError("Invalid CONs. Cannot detect version. gamestartup has %d entries", pcount);
}
gameinfo.gametype = g_gameType;