You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-rpg/daimonin-client/files/daimonin-client-0.10.5-data...

29 lines
983 B

--- 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. */