diff --git a/src/d_iwad.cpp b/src/d_iwad.cpp index 6422b88984..a02f3ca5f8 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 +}