|
Line 0
Link Here
|
|
|
1 |
--- src/gameconfigfile.cpp.orig 2016-08-29 19:15:32 UTC |
| 2 |
+++ src/gameconfigfile.cpp |
| 3 |
@@ -137,7 +137,9 @@ FGameConfigFile::FGameConfigFile () |
| 4 |
// Debian likes them in /usr/share/games/doom |
| 5 |
// I assume other distributions don't do anything radically different |
| 6 |
SetValueForKey ("Path", "/usr/local/share/doom", true); |
| 7 |
+ SetValueForKey ("Path", "/usr/local/share/" GAMENAMELOWERCASE, true); |
| 8 |
SetValueForKey ("Path", "/usr/local/share/games/doom", true); |
| 9 |
+ SetValueForKey ("Path", "/usr/local/share/games/" GAMENAMELOWERCASE, true); |
| 10 |
SetValueForKey ("Path", "/usr/share/doom", true); |
| 11 |
SetValueForKey ("Path", "/usr/share/games/doom", true); |
| 12 |
#endif |
| 13 |
@@ -157,6 +159,7 @@ FGameConfigFile::FGameConfigFile () |
| 14 |
#else |
| 15 |
SetValueForKey ("Path", "~/" GAME_DIR, true); |
| 16 |
SetValueForKey ("Path", SHARE_DIR, true); |
| 17 |
+ SetValueForKey ("Path", SHARE_DIR GAMENAMELOWERCASE, true); |
| 18 |
#endif |
| 19 |
SetValueForKey ("Path", "$DOOMWADDIR", true); |
| 20 |
} |