diff options
| author | oy <Tom_Adams@web.de> | 2010-12-08 00:13:59 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-12-08 00:13:59 +0100 |
| commit | 7c26dcbadd710e2aa0b8a010ecb2c03b7be56caa (patch) | |
| tree | ffac91b268109ce535184830289c8b78cb55f6a4 /src/engine | |
| parent | d30dd9da8fce880a44e598a41710015d1f4733a3 (diff) | |
| download | zcatch-7c26dcbadd710e2aa0b8a010ecb2c03b7be56caa.tar.gz zcatch-7c26dcbadd710e2aa0b8a010ecb2c03b7be56caa.zip | |
moved function to remove files
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/shared/storage.cpp | 3 |
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) |