summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index e4bf62ec6..30d9f40bb 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -36,6 +36,7 @@
#include "gui/viewport.h"
#include "resources/image.h"
+#include "resources/imagehelper.h"
#include "resources/resourcemanager.h"
#include "utils/gettext.h"
@@ -142,7 +143,7 @@ void Minimap::setMap(Map *map)
SDL_UnlockSurface(surface);
- mMapImage = Image::load(surface);
+ mMapImage = ImageHelper::load(surface);
mMapImage->setAlpha(Client::getGuiAlpha());
mCustomMapImage = true;
SDL_FreeSurface(surface);