From 85ffeebb965a0c591aa8d74b2a590d7e97bda14d Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 5 Sep 2017 10:33:07 +0300 Subject: [PATCH] Fixed IWAD detection for case-sensitive file systems https://forum.zdoom.org/viewtopic.php?t=57770 --- src/d_iwad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_iwad.cpp b/src/d_iwad.cpp index 6422b8898..a02f3ca5f 100644 --- a/src/d_iwad.cpp +++ b/src/d_iwad.cpp @@ -429,7 +429,7 @@ void FIWadManager::AddIWADCandidates(const char *dir) { if (!stricmp(name, FindName)) { - mFoundWads.Push(FFoundWadInfo{ slasheddir + name, "", -1 }); + mFoundWads.Push(FFoundWadInfo{ slasheddir + FindName, "", -1 }); } } } @@ -736,4 +736,4 @@ const FIWADInfo *FIWadManager::FindIWAD(TArray &wadfiles, const char *i } I_SetIWADInfo(); return iwad_info; -} \ No newline at end of file +}