summarylogtreecommitdiffstats
path: root/0002-Added-SHARE_DIR-search-path-back.patch
blob: e30f08c02f98ea428df1d02d87d1028494076d6e (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
25
From 2b9a2b11ba49f9033565d9a6d9b508f5ef7a9cc1 Mon Sep 17 00:00:00 2001
From: "alexey.lysiuk" <alexey.lysiuk@gmail.com>
Date: Sat, 24 Feb 2018 17:50:13 +0200
Subject: [PATCH] Added SHARE_DIR search path back

https://github.com/coelckers/gzdoom/pull/377#issuecomment-368235506
---
 src/gameconfigfile.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
index f6fc12dfa..6e731d2bc 100644
--- a/src/gameconfigfile.cpp
+++ b/src/gameconfigfile.cpp
@@ -149,6 +149,7 @@ FGameConfigFile::FGameConfigFile ()
 		SetValueForKey ("Path", "$PROGDIR", true);
 #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);
-- 
2.16.2