diff options
Diffstat (limited to 'src/game/client/components/mapimages.cpp')
| -rw-r--r-- | src/game/client/components/mapimages.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/client/components/mapimages.cpp b/src/game/client/components/mapimages.cpp index 9be450d1..8870c5c6 100644 --- a/src/game/client/components/mapimages.cpp +++ b/src/game/client/components/mapimages.cpp @@ -1,5 +1,6 @@ #include <engine/graphics.h> #include <engine/map.h> +#include <engine/storage.h> #include <game/client/component.h> #include <game/mapitems.h> @@ -36,7 +37,7 @@ void CMapImages::OnMapLoad() char Buf[256]; char *pName = (char *)pMap->GetData(pImg->m_ImageName); str_format(Buf, sizeof(Buf), "mapres/%s.png", pName); - m_aTextures[i] = Graphics()->LoadTexture(Buf, CImageInfo::FORMAT_AUTO, 0); + m_aTextures[i] = Graphics()->LoadTexture(Buf, IStorage::TYPE_ALL, CImageInfo::FORMAT_AUTO, 0); } else { |