Use white-black ball in minimap
This commit is contained in:
parent
7ef019f794
commit
e296ebe4af
BIN
data/gui/soccer_ball_normal.png
Normal file
BIN
data/gui/soccer_ball_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -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)),
|
||||
|
Loading…
Reference in New Issue
Block a user