parent
ed0e5dfef5
commit
03bb000e82
|
@ -292,7 +292,7 @@ bool CResourceManager::Copy(const std::string& from, const std::string& to)
|
|||
std::string writeDir = PHYSFS_getWriteDir();
|
||||
try
|
||||
{
|
||||
boost::filesystem3::copy(writeDir + "/" + CleanPath(from), writeDir + "/" + CleanPath(to));
|
||||
fs::copy(writeDir + "/" + CleanPath(from), writeDir + "/" + CleanPath(to));
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
|
||||
#include "CBot/CBotDll.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
class CObject;
|
||||
class CScript;
|
||||
|
@ -179,4 +177,4 @@ private:
|
|||
static bool Process(CScript* script, CBotVar* result, int &exception);
|
||||
static bool ShouldProcessStop(Error err, int errMode);
|
||||
static CObject* SearchInfo(CScript* script, CObject* object, float power);
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue