Mercurial > sumwars
changeset 2034:d03c72b61dda 0.5.5
removed the use of PHYS_mount
author | wuha |
---|---|
date | Sun, 06 Nov 2011 11:54:44 +0000 |
parents | 37110b770eb1 |
children | 35123f65f606 |
files | src/gui/application.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui/application.cpp Thu Nov 03 10:42:53 2011 +0000 +++ b/src/gui/application.cpp Sun Nov 06 11:54:44 2011 +0000 @@ -91,9 +91,9 @@ } // Add the user directory - if (PHYSFS_mount (PHYSFS_getUserDir (), 0, 1) == 0) + if (PHYSFS_addToSearchPath (PHYSFS_getUserDir (), 1) == 0) { - printf("PHYSFS_mount failed: %s\n", PHYSFS_getLastError ()); + printf("PHYSFS_addToSearchPath failed: %s\n", PHYSFS_getLastError ()); return false; }