diff options
author | Simon Howard | 2010-12-18 23:55:07 +0000 |
---|---|---|
committer | Simon Howard | 2010-12-18 23:55:07 +0000 |
commit | 463bcf013ce355398974953508d232ac88a6b2d6 (patch) | |
tree | 8f21093469f64e1d147bf22adc4acf6ad84b0310 /src/i_system.c | |
parent | 1ef81eb5f7c336972fe56f15285f389cafdc96f5 (diff) | |
download | chocolate-doom-463bcf013ce355398974953508d232ac88a6b2d6.tar.gz chocolate-doom-463bcf013ce355398974953508d232ac88a6b2d6.tar.bz2 chocolate-doom-463bcf013ce355398974953508d232ac88a6b2d6.zip |
Add a M_CheckParmWithArgs function, that behaves like M_CheckParm but
also checks that extra options were provided on the command line (thanks
Sander van Dijk).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2223
Diffstat (limited to 'src/i_system.c')
-rw-r--r-- | src/i_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_system.c b/src/i_system.c index afff1a95..9f599192 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -171,7 +171,7 @@ byte *I_ZoneBase (int *size) // Specify the heap size, in MiB (default 16). // - p = M_CheckParm("-mb"); + p = M_CheckParmWithArgs("-mb", 1); if (p > 0) { |