From 98b6510b9cb37a74b3e969de0ea423c5ea0d5072 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 18 Jan 2015 19:07:28 +0100 Subject: [PATCH] fixed loading of the background map --- src/game/client/components/maplayers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/maplayers.cpp b/src/game/client/components/maplayers.cpp index d45f34db6..55685401b 100644 --- a/src/game/client/components/maplayers.cpp +++ b/src/game/client/components/maplayers.cpp @@ -38,7 +38,7 @@ void CMapLayers::OnInit() m_pMenuMap = CreateEngineMap(); char aBuf[128]; - str_format(aBuf, sizeof(aBuf), "maps/%s.map", g_Config.m_ClBackgroundMap); + str_format(aBuf, sizeof(aBuf), "ui/%s.map", g_Config.m_ClBackgroundMap); if(!m_pMenuMap->Load(aBuf, m_pClient->Storage())) { str_format(aBuf, sizeof(aBuf), "map '%s' not found", g_Config.m_ClBackgroundMap); @@ -367,7 +367,7 @@ void CMapLayers::BackgroundMapUpdate() m_pMenuMap->Unload(); char aBuf[128]; - str_format(aBuf, sizeof(aBuf), "maps/%s.map", g_Config.m_ClBackgroundMap); + str_format(aBuf, sizeof(aBuf), "ui/%s.map", g_Config.m_ClBackgroundMap); if(!m_pMenuMap->Load(aBuf, m_pClient->Storage())) { str_format(aBuf, sizeof(aBuf), "map '%s' not found", g_Config.m_ClBackgroundMap);