mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix return type of CStorage::RemoveFile
This commit is contained in:
parent
da2fe3cbbc
commit
8b782285ab
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue