diff --git a/src/d_main.cpp b/src/d_main.cpp index 732cd6acd..3de2bab7c 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -1656,7 +1656,7 @@ static FString ParseGameInfo(TArray &pwads, const char *fn, const char { do { - sc.MustGetToken(TK_StringConst); + sc.MustGetString(); // Try looking for the wad in the same directory as the .wad // before looking for it in the current directory.