diff --git a/src/d_iwad.cpp b/src/d_iwad.cpp index be4e5873e..0bad0c3ed 100644 --- a/src/d_iwad.cpp +++ b/src/d_iwad.cpp @@ -326,7 +326,7 @@ int FIWadManager::CheckIWAD (const char *doomwaddir, WadStuff *wads) int numfound; numfound = 0; -return 0; + slash = (doomwaddir[0] && doomwaddir[strlen (doomwaddir)-1] != '/') ? "/" : ""; // Search for a pre-defined IWAD