If *nix, add default gzdoom.pk3 directory t File.Search paths

This commit is contained in:
Dugan Chen 2017-10-12 07:01:46 -07:00 committed by Rachael Alexanderson
parent 80701927e8
commit 2e4ffbb1d1

View file

@ -150,6 +150,10 @@ FGameConfigFile::FGameConfigFile ()
#else
SetValueForKey ("Path", "~/" GAME_DIR, true);
SetValueForKey ("Path", SHARE_DIR, true);
SetValueForKey ("Path", "/usr/local/share/doom", true);
SetValueForKey ("Path", "/usr/local/share/games/doom", true);
SetValueForKey ("Path", "/usr/share/doom", true);
SetValueForKey ("Path", "/usr/share/games/doom", true);
#endif
SetValueForKey ("Path", "$DOOMWADDIR", true);
}