- Re-arrange `swaddons[]` const char array so that `/gameroot` is picked up first following changes in f4b27bbd27.

* Since f4b27bbd27, `D:/Program Files (x86)/Steam/steamapps/common/Shadow Warrior Classic/gameroot/addons/Sw.grp` was being picked up instead of `D:/Program Files (x86)/Steam/steamapps/common/Shadow Warrior Classic/gameroot/SW.GRP`.
* Fixes #289.
This commit is contained in:
Mitchell Richters 2021-04-01 12:25:57 +11:00
parent 029f8807df
commit 4321efa21c
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ struct RegistryPathInfo
};
static const char * gameroot[] = { "/gameroot", nullptr};
static const char * swaddons[] = { "/gameroot", "/gameroot/addons", nullptr};
static const char * swaddons[] = { "/gameroot/addons", "/gameroot", nullptr};
static const char * dukeaddons[] = { "/gameroot", "/gameroot/addons/dc", "/gameroot/addons/nw", "/gameroot/addons/vacation", nullptr};
static const char * dn3d[] = { "/Duke Nukem 3D", nullptr};
static const char * nam[] = { "/NAM", nullptr};