From cd78367f5075e616cf001c4107fb043f1675fc44 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 16 Oct 2010 19:59:53 +0200 Subject: [PATCH] Changed: Replaced DeleteFile (Win32) by NLMISC::CFile::deleteFile --- code/ryzom/tools/leveldesign/export/export.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/ryzom/tools/leveldesign/export/export.cpp b/code/ryzom/tools/leveldesign/export/export.cpp index 48fb175aa..2b763efee 100644 --- a/code/ryzom/tools/leveldesign/export/export.cpp +++ b/code/ryzom/tools/leveldesign/export/export.cpp @@ -39,7 +39,6 @@ #include "nel/misc/i_xml.h" #include "nel/misc/path.h" #include "nel/misc/file.h" -#include "nel/misc/path.h" #include "tools.h" #include "../master/ContinentCfg.h" @@ -86,7 +85,7 @@ void CExport::delIGZone (sint32 x, sint32 y) { string sZoneName = CExport::getZoneNameFromXY (x, y); sZoneName += ".ig"; - if (CFile::deleteFile(deleteFile(sZoneName)) + if (CFile::deleteFile(sZoneName)) { CTools::chdir (_ExeDir); string sTmp = string(" zone ") + sZoneName + " deleted";