From 7c26dcbadd710e2aa0b8a010ecb2c03b7be56caa Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 8 Dec 2010 00:13:59 +0100 Subject: moved function to remove files --- src/engine/shared/storage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/engine/shared') 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 //remove() #include #include #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) -- cgit 1.4.1