Add GOG path for Doom 3: BFG Edition

This commit is contained in:
Mike Swanson 2017-08-25 12:17:27 -07:00 committed by Christoph Oelckers
parent fae52d398b
commit 1bc8fe7312

View file

@ -1655,6 +1655,13 @@ TArray<FString> I_GetGogPaths()
result.Push(path + "/Plutonia"); result.Push(path + "/Plutonia");
} }
// Look for Doom 3: BFG Edition
gamepath = gogregistrypath + "\\1135892318";
if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.GetChars(), "Path", path))
{
result.Push(path + "/base/wads"); // in a subdirectory
}
// Look for Strife: Veteran Edition // Look for Strife: Veteran Edition
gamepath = gogregistrypath + "\\1432899949"; gamepath = gogregistrypath + "\\1432899949";
if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.GetChars(), "Path", path)) if (QueryPathKey(HKEY_LOCAL_MACHINE, gamepath.GetChars(), "Path", path))