diff --git a/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp b/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp index 62e723a968..9084a5f273 100644 --- a/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp +++ b/source/tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp @@ -20,7 +20,7 @@ QUERYHANDLER(GetTerrainGroups) QUERYHANDLER(GetTerrainGroupPreviews) { - CTerrainGroup* group = g_TexMan.FindGroup(msg->groupname); + CTerrainGroup* group = g_TexMan.FindGroup(CStrW(msg->groupname)); for (std::vector::const_iterator it = group->GetTerrains().begin(); it != group->GetTerrains().end(); ++it) { msg->previews.push_back(AtlasMessage::sTerrainGroupPreview());