summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2012-10-23 20:39:52 +0000
committerSimon Howard2012-10-23 20:39:52 +0000
commit933839b0a2a95498c8c935339bb79ade11983dd5 (patch)
tree40064200c77d1dd9c4e70d4f6aab65d819a06635
parent74293323d6b0bfa91dac4b26223cf55d48843563 (diff)
downloadchocolate-doom-933839b0a2a95498c8c935339bb79ade11983dd5.tar.gz
chocolate-doom-933839b0a2a95498c8c935339bb79ade11983dd5.tar.bz2
chocolate-doom-933839b0a2a95498c8c935339bb79ade11983dd5.zip
Add Steam path for Doom 3: BFG Edition IWAD path (thanks Gez for the
information). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2529
-rw-r--r--src/d_iwad.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c
index be5a3880..6d0ade26 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -157,6 +157,10 @@ static char *steam_install_subdirs[] =
"steamapps\\common\\doom 2\\base",
"steamapps\\common\\final doom\\base",
"steamapps\\common\\ultimate doom\\base",
+
+ // From Doom 3: BFG Edition:
+
+ "steamapps\\common\\DOOM 3 BFG Edition\\base\\wads",
};
static char *GetRegistryString(registry_value_t *reg_val)
@@ -201,7 +205,7 @@ static char *GetRegistryString(registry_value_t *reg_val)
}
// Close the key
-
+
RegCloseKey(key);
return result;