diff options
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r-- | src/soundmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp index 026a987ed..940c51451 100644 --- a/src/soundmanager.cpp +++ b/src/soundmanager.cpp @@ -325,7 +325,7 @@ static SDLMusic *loadMusic(const std::string &fileName, const SkipError skipError) { const std::string path = paths.getStringValue("music").append(fileName); - if (!VirtFs::exists(path.c_str())) + if (!VirtFs::exists(path)) { if (skipError == SkipError_false) reportAlways("Music file not found: %s", fileName.c_str()); |