From 489c34edbf157186cb5126ac70ec327a2ad3663f Mon Sep 17 00:00:00 2001 From: Deve Date: Tue, 16 Aug 2016 23:59:16 +0200 Subject: [PATCH] Fixed minimap with scale_rtts_factor parameter --- src/states_screens/race_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/states_screens/race_gui.cpp b/src/states_screens/race_gui.cpp index ed93231dc..930fe6ad2 100644 --- a/src/states_screens/race_gui.cpp +++ b/src/states_screens/race_gui.cpp @@ -373,6 +373,7 @@ void RaceGUI::drawGlobalMiniMap() const Vec3& xyz = kart->getXYZ(); Vec3 draw_at; world->getTrack()->mapPoint2MiniMap(xyz, &draw_at); + draw_at *= UserConfigParams::m_scale_rtts_factor; video::ITexture* icon = kart->getKartProperties()->getMinimapIcon(); @@ -393,6 +394,7 @@ void RaceGUI::drawGlobalMiniMap() { Vec3 draw_at; world->getTrack()->mapPoint2MiniMap(sw->getBallPosition(), &draw_at); + draw_at *= UserConfigParams::m_scale_rtts_factor; video::ITexture* icon = irr_driver->getTexture(FileManager::GUI, "soccer_ball_normal.png");