blob: 9bf13553f01bfaf4e3c268cdf30dea4c3d18e3ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From 37ce567c941e0b625064367633063c3fab81177b Mon Sep 17 00:00:00 2001
From: Jan Cholasta <grubber@grubber.cz>
Date: Thu, 18 Feb 2016 13:34:59 +0100
Subject: [PATCH 2/2] Include SHARE_DIR in IWADSearch.Directories
---
src/gameconfigfile.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
index f162e93..91f7308 100644
--- a/src/gameconfigfile.cpp
+++ b/src/gameconfigfile.cpp
@@ -133,6 +133,7 @@ FGameConfigFile::FGameConfigFile ()
SetValueForKey ("Path", "$PROGDIR", true);
#else
SetValueForKey ("Path", "~/" GAME_DIR, true);
+ SetValueForKey ("Path", SHARE_DIR, true);
// Arch Linux likes them in /usr/share/doom
// Debian likes them in /usr/share/games/doom
// I assume other distributions don't do anything radically different
--
2.7.2
|