From 358db83778b46427fe267f86532d3a84d25a50ac Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 29 Aug 2011 20:37:26 +0000 Subject: Fix bug with detection of IWAD type by filename (thanks mether). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2359 --- src/d_iwad.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/d_iwad.c b/src/d_iwad.c index c0d33707..be5a3880 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -430,22 +430,24 @@ static char *SearchDirectoryForIWAD(char *dir) static void IdentifyIWADByName(char *name) { size_t i; + char *p; - gamemission = none; - - for (i=0; i