diff options
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r-- | src/gui/minimap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index b76e71069..8089a2feb 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -233,7 +233,7 @@ void Minimap::draw(gcn::Graphics *graphics) + viewport->getCameraRelativeX()) * mWidthProportion) / 32; mMapOriginY = ((a.height) / 2) - (static_cast<float>(p.y - + viewport->getCameraRelativeX()) * mHeightProportion) / 32; + + viewport->getCameraRelativeY()) * mHeightProportion) / 32; const int minOriginX = a.width - mMapImage->mBounds.w; const int minOriginY = a.height - mMapImage->mBounds.h; |