foxygit / doom Log in
commit 5e91906781f8783b26a735dc57b17eba2fe9da36
Author:     Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Sat Jul 23 00:06:22 2016 -0700
Commit:     Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Sat Jul 23 00:06:22 2016 -0700

    d_iwad: re-sort the GOG.com games by vanilla IWAD loading order

    doom.wad was being picked as the default game with no `-iwad`
    parameter passed.  This will make it so doom2.wad, plutonia.wad, and
    tnt.wad get automatically chosen first.
---
 src/d_iwad.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/d_iwad.c b/src/d_iwad.c
index 16f1cf2b..2e91a5a1 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -154,19 +154,19 @@ static registry_value_t root_path_keys[] =
         "INSTALLPATH",
     },

-    // Ultimate Doom
+    // Doom II

     {
         HKEY_LOCAL_MACHINE,
-        SOFTWARE_KEY "\\GOG.com\\Games\\1435827232",
+        SOFTWARE_KEY "\\GOG.com\\Games\\1435848814",
         "PATH",
     },

-    // Doom II
+    // Ultimate Doom

     {
         HKEY_LOCAL_MACHINE,
-        SOFTWARE_KEY "\\GOG.com\\Games\\1435848814",
+        SOFTWARE_KEY "\\GOG.com\\Games\\1435827232",
         "PATH",
     },