Fix return type of CStorage::RemoveFile

This commit is contained in:
def 2019-01-07 14:35:11 +01:00
parent da2fe3cbbc
commit 8b782285ab

View file

@ -413,7 +413,7 @@ public:
char aBuffer[MAX_PATH_LENGTH];
GetPath(Type, pFilename, aBuffer, sizeof(aBuffer));
bool success = fs_remove(aBuffer);
bool success = !fs_remove(aBuffer);
if(!success)
dbg_msg("storage", "failed to remove: %s", aBuffer);
return success;