diff options
Diffstat (limited to 'src/game-server/mapmanager.cpp')
-rw-r--r-- | src/game-server/mapmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game-server/mapmanager.cpp b/src/game-server/mapmanager.cpp index d1d8864a..b27348b2 100644 --- a/src/game-server/mapmanager.cpp +++ b/src/game-server/mapmanager.cpp @@ -45,7 +45,8 @@ unsigned int MapManager::initialize(const std::string &mapReferenceFile) unsigned int loadedMaps = 0; int size; - char *data = ResourceManager::loadFile(mapReferenceFile, size); + // Note: The file is checked for UTF-8 BOM. + char *data = ResourceManager::loadFile(mapReferenceFile, size, true); if (!data) { LOG_ERROR("Map Manager: Could not find " << mapReferenceFile << "!"); |