From b19cf954206c4026b834a1d323f0488976fe152f Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 28 May 2022 16:10:52 +0200 Subject: [PATCH] Fix IFileSystem::RemoveSearchPath bug --- r5dev/filesystem/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/filesystem/filesystem.cpp b/r5dev/filesystem/filesystem.cpp index 1aa6c7d5..bfd3cb26 100644 --- a/r5dev/filesystem/filesystem.cpp +++ b/r5dev/filesystem/filesystem.cpp @@ -24,7 +24,7 @@ void IFileSystem::AddSearchPath(const char* pPath, const char* pPathID, SearchPa bool IFileSystem::RemoveSearchPath(const char* pPath, const char* pPathID) { static int index = 13; - CallVFunc(index, this, pPath, pPathID); + return CallVFunc(index, this, pPath, pPathID); } //-----------------------------------------------------------------------------