diff --git a/src/physfs.c b/src/physfs.c index e05447e..cc74e77 100644 --- a/src/physfs.c +++ b/src/physfs.c @@ -1365,7 +1365,7 @@ int PHYSFS_mount(const char *newDir, const char *mountPoint, int appendToPath) int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) { - return PHYSFS_mount(newDir, NULL, appendToPath); + return doMount(NULL, newDir, NULL, appendToPath); } /* PHYSFS_addToSearchPath */