blob: f2fc757abd271c9fe2fd9b6a3bd2df18e4879034 (
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
26
27
28
|
--- a/main.c 2010-08-24 19:32:55.000000000 +0200
+++ b/main.c 2010-09-19 18:49:54.000000000 +0200
@@ -2386,7 +2386,7 @@
/* Add the base dir to the search path. The base dir is where all the
* defaults are (or should be). */
- if (!PHYSFS_addToSearchPath(PHYSFS_getBaseDir(), 1))
+ if (!PHYSFS_addToSearchPath(SYSPATH, 1))
{
LOG(LOG_MSG, "%s\n", PHYSFS_getLastError());
}
@@ -2545,13 +2545,13 @@
/* Prepend the user dir to the search path. This means files are read from
* this location in preference to the defaults. */
- if (strcmp(PHYSFS_getBaseDir(), home))
- {
+ /*if (strcmp(PHYSFS_getBaseDir(), home))
+ {*/
if (!PHYSFS_addToSearchPath(home, 0))
{
LOG(LOG_ERROR, "%s\n", PHYSFS_getLastError());
}
- }
+ //}
/* Prepend any add-on packs to the search path. This means files are read
* from these locations in preference to the defaults and the user dir. */
|