Added SHARE_DIR search path back

https://github.com/coelckers/gzdoom/pull/377#issuecomment-368235506
This commit is contained in:
alexey.lysiuk 2018-02-24 17:50:13 +02:00
parent 76ff1adb28
commit 3436b80232
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ FGameConfigFile::FGameConfigFile ()
SetValueForKey ("Path", "$PROGDIR", true); SetValueForKey ("Path", "$PROGDIR", true);
#else #else
SetValueForKey ("Path", "$HOME/" GAME_DIR, true); SetValueForKey ("Path", "$HOME/" GAME_DIR, true);
SetValueForKey ("Path", SHARE_DIR, true);
SetValueForKey ("Path", "/usr/local/share/doom", true); SetValueForKey ("Path", "/usr/local/share/doom", true);
SetValueForKey ("Path", "/usr/local/share/games/doom", true); SetValueForKey ("Path", "/usr/local/share/games/doom", true);
SetValueForKey ("Path", "/usr/share/doom", true); SetValueForKey ("Path", "/usr/share/doom", true);