From 2e4ffbb1d17bb1b352d9f1cc66e069a5e31375c0 Mon Sep 17 00:00:00 2001 From: Dugan Chen Date: Thu, 12 Oct 2017 07:01:46 -0700 Subject: [PATCH] If *nix, add default gzdoom.pk3 directory t File.Search paths --- src/gameconfigfile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp index cfbbe5fb7..6e731d2bc 100644 --- a/src/gameconfigfile.cpp +++ b/src/gameconfigfile.cpp @@ -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); }