diff options
Diffstat (limited to 'src/p_spec.c')
-rw-r--r-- | src/p_spec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p_spec.c b/src/p_spec.c index fa3ec335..90d0bb7c 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -1213,9 +1213,9 @@ static void DonutOverrun(fixed_t *s3_floorheight, short *s3_floorpic, // system. The default (if this option is not specified) is to // emulate the behavior when running under Windows 98. - p = M_CheckParm("-donut"); + p = M_CheckParmWithArgs("-donut", 2); - if (p > 0 && p < myargc - 2) + if (p > 0) { // Dump of needed memory: (fixed_t)0000:0000 and (short)0000:0008 // |