mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- -addon 0 seems to be a valid parameter...
This commit is contained in:
parent
598ce8a2ef
commit
9310c25a7b
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ void UserConfig::ProcessOptions()
|
|||
{
|
||||
auto val = strtol(v, nullptr, 0);
|
||||
static const char* const addons[] = { "DUKE3D.GRP", "DUKEDC.GRP", "NWINTER.GRP", "VACATION.GRP" };
|
||||
if (val > 0 && val < 4) gamegrp = addons[val];
|
||||
if (val >= 0 && val < 4) gamegrp = addons[val];
|
||||
else initprintf("%s: Unknown Addon\n", v);
|
||||
}
|
||||
else if (Args->CheckParm("-nam"))
|
||||
|
|
Loading…
Reference in a new issue