Skip to content

Commit

Permalink
- Duke: Fix CON parser to detect shareware scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjr4077au committed May 28, 2022
1 parent 1a788c9 commit 889baef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/games/duke/src/gamedef.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 889baef

Please sign in to comment.