Use white-black ball in minimap

This commit is contained in:
Benau 2016-01-15 19:52:49 +08:00
parent 7ef019f794
commit e296ebe4af
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -370,7 +370,7 @@ void RaceGUI::drawGlobalMiniMap()
Vec3 draw_at;
world->getTrack()->mapPoint2MiniMap(sw->getBallPosition(), &draw_at);
video::ITexture* icon =
irr_driver->getTexture(FileManager::GUI, "soccer_ball_blue.png");
irr_driver->getTexture(FileManager::GUI, "soccer_ball_normal.png");
core::rect<s32> source(core::position2di(0, 0), icon->getSize());
core::rect<s32> position(m_map_left+(int)(draw_at.getX()-(m_minimap_ai_size>>2)),