From fdfd38278cba5fa37d203d0d29b4981e400a529a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Apr 2016 20:18:27 +0300 Subject: Fix overload virtual warning with SDL2. --- src/gui/windows/minimap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index 291cb7a7a..c7eeb6250 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -162,7 +162,7 @@ void Minimap::setMap(const Map *const map) SDL_UnlockSurface(surface); - mMapImage = imageHelper->load(surface); + mMapImage = imageHelper->loadSurface(surface); mMapImage->setAlpha(settings.guiAlpha); mCustomMapImage = true; MSDL_FreeSurface(surface); -- cgit v1.2.3-70-g09d2