mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-20 06:06:13 +00:00
Changed: Replaced DeleteFile (Win32) by NLMISC::CFile::deleteFile
This commit is contained in:
parent
eff593fcf3
commit
f8d8a24b83
1 changed files with 1 additions and 2 deletions
|
@ -39,7 +39,6 @@
|
||||||
#include "nel/misc/i_xml.h"
|
#include "nel/misc/i_xml.h"
|
||||||
#include "nel/misc/path.h"
|
#include "nel/misc/path.h"
|
||||||
#include "nel/misc/file.h"
|
#include "nel/misc/file.h"
|
||||||
#include "nel/misc/path.h"
|
|
||||||
|
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
#include "../master/ContinentCfg.h"
|
#include "../master/ContinentCfg.h"
|
||||||
|
@ -86,7 +85,7 @@ void CExport::delIGZone (sint32 x, sint32 y)
|
||||||
{
|
{
|
||||||
string sZoneName = CExport::getZoneNameFromXY (x, y);
|
string sZoneName = CExport::getZoneNameFromXY (x, y);
|
||||||
sZoneName += ".ig";
|
sZoneName += ".ig";
|
||||||
if (CFile::deleteFile(deleteFile(sZoneName))
|
if (CFile::deleteFile(sZoneName))
|
||||||
{
|
{
|
||||||
CTools::chdir (_ExeDir);
|
CTools::chdir (_ExeDir);
|
||||||
string sTmp = string(" zone ") + sZoneName + " deleted";
|
string sTmp = string(" zone ") + sZoneName + " deleted";
|
||||||
|
|
Loading…
Reference in a new issue