- Fixed -iwad parameter working only with VS on Windows.

This commit is contained in:
drfrag666 2018-05-12 11:32:53 +02:00
parent d60299c740
commit 087c3b4c01

View file

@ -537,7 +537,7 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
FixPathSeperator(custwad);
DefaultExtension(custwad, ext);
bool isAbsolute = (custwad[0] == '/');
#ifdef WINDOWS
#ifdef _WIN32
isAbsolute |= (custwad.Len() >= 2 && custwad[1] == ':');
#endif
if (isAbsolute)