From cc3e36cfdca35e0490521edf7c152fddfd8d3755 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 20 Aug 2017 10:50:19 +0200 Subject: [PATCH] - reinstate '.wad' default extension for -iwad parameter. --- src/d_iwad.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/d_iwad.cpp b/src/d_iwad.cpp index b4b147f26e..9691b9cdfd 100644 --- a/src/d_iwad.cpp +++ b/src/d_iwad.cpp @@ -508,6 +508,7 @@ int FIWadManager::IdentifyVersion (TArray &wadfiles, const char *iwad, // Check if the given IWAD has an absolute path, in which case the search path will be ignored. custwad = iwadparm; FixPathSeperator(custwad); + DefaultExtension(custwad, ".wad"); bool isAbsolute = (custwad[0] == '/'); #ifdef WINDOWS isAbsolute |= (custwad.Len() >= 2 && custwad[1] == ':');