diff --git a/source/glest_game/ai/ai_interface.cpp b/source/glest_game/ai/ai_interface.cpp index 557dd4ac1..ac52c8fea 100644 --- a/source/glest_game/ai/ai_interface.cpp +++ b/source/glest_game/ai/ai_interface.cpp @@ -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