- bugfix for compilation on windows

This commit is contained in:
Mark Vejvoda
2013-11-19 22:47:22 +00:00
parent ab64b9343f
commit 7d5b71b2cf

View File

@@ -220,7 +220,7 @@ AiInterface::AiInterface(Game &game, int factionIndex, int teamIndex,
//clear log file
if(logLevel > 0) {
#ifdef WIN32
fp = _wfopen(Shared::Platform::utf8_decode(aiLogFile).c_str(), L"wt");
fp = _wfopen(::Shared::Platform::utf8_decode(aiLogFile).c_str(), L"wt");
#else
fp = fopen(aiLogFile.c_str(), "wt");
#endif