mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 13:10:39 +00:00
- Duke: Fix CON parser to detect shareware scripts.
This commit is contained in:
parent
1a788c9ba2
commit
889baeff14
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue