about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/shared/storage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/shared/storage.cpp b/src/engine/shared/storage.cpp
index eaddf0ba..9349b7d2 100644
--- a/src/engine/shared/storage.cpp
+++ b/src/engine/shared/storage.cpp
@@ -1,6 +1,5 @@
 /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
 /* If you are missing that file, acquire a complete release at teeworlds.com.                */
-#include <stdio.h> //remove()
 #include <base/system.h>
 #include <engine/storage.h>
 #include "engine.h"
@@ -280,7 +279,7 @@ public:
 			return false;
 
 		char aBuffer[MAX_PATH_LENGTH];
-		return !remove(GetPath(Type, pFilename, aBuffer, sizeof(aBuffer)));
+		return !fs_remove(GetPath(Type, pFilename, aBuffer, sizeof(aBuffer)));
 	}
 
 	virtual bool RenameFile(const char* pOldFilename, const char* pNewFilename, int Type)