aboutsummaryrefslogtreecommitdiff
path: root/src/client/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/minimap.cpp')
-rw-r--r--src/client/minimap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/minimap.cpp b/src/client/minimap.cpp
index 97977c366..f26aa1c70 100644
--- a/src/client/minimap.cpp
+++ b/src/client/minimap.cpp
@@ -577,7 +577,7 @@ scene::SMeshBuffer *Minimap::getMinimapMeshBuffer()
void Minimap::drawMinimap()
{
// Non hud managed minimap drawing (legacy minimap)
- v2u32 screensize = RenderingEngine::get_instance()->getWindowSize();
+ v2u32 screensize = RenderingEngine::getWindowSize();
const u32 size = 0.25 * screensize.Y;
drawMinimap(core::rect<s32>(