diff options
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r-- | src/gui/minimap.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 7b2367c0..6e8d8a04 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -73,13 +73,10 @@ void Minimap::draw(gcn::Graphics *graphics) { Window::draw(graphics); - int x, y; - getAbsolutePosition(x, y); - if (mMapImage != NULL) { dynamic_cast<Graphics*>(graphics)->drawImage( - mMapImage, x + getPadding(), y + getTitleBarHeight()); + mMapImage, getPadding(), getTitleBarHeight()); } std::list<Being*>::iterator bi; |