Package: ballerburg / 1.2.0-4

fix-data-dir Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: fix location of data files
 Make sure the game finds the data files it is looking for.

--- ballerburg-1.0.1.orig/src/paths.c
+++ ballerburg-1.0.1/src/paths.c
@@ -294,6 +294,8 @@ static void Paths_InitPackageDir(char *p
 		strncpy(psPkgDir, pTempName, FILENAME_MAX);
 	}
 
+	strcpy(psPkgDir, "/usr/share/games/ballerburg/");
+
 	free(pTempName);
 }