summaryrefslogtreecommitdiff
blob: fc61b71283b631bd777d14023595a8551a347cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Julian Ospald <hasufell@gentoo.org>
Date: Sun Sep  8 11:05:26 UTC 2013
Subject: fix DATADIR detection for minimal setups

--- a/src/engine/shared/storage.cpp
+++ b/src/engine/shared/storage.cpp
@@ -208,7 +208,7 @@
 			for (i = 0; i < DirsCount; i++)
 			{
 				char aBuf[128];
-				str_format(aBuf, sizeof(aBuf), "%s/mapres", aDirs[i]);
+				str_format(aBuf, sizeof(aBuf), "%s/maps", aDirs[i]);
 				if(fs_is_dir(aBuf))
 				{
 					str_copy(m_aDatadir, aDirs[i], sizeof(m_aDatadir));