From 539af2ea0ce3245c41b4a4be989da35788f7b992 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 21 Dec 2007 12:37:17 +0000 Subject: Added logging of error on PHYSFS_addToSearchPath. --- src/resources/resourcemanager.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/resources/resourcemanager.h') diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index c52248b1..1adb8446 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -68,8 +68,10 @@ class ResourceManager * Adds a directory or archive to the search path. If append is true * then the directory is added to the end of the search path, otherwise * it is added at the front. + * + * @return true on success, false otherwise. */ - void + bool addToSearchPath(const std::string &path, bool append); /** -- cgit v1.2.3-70-g09d2