Use smoothed transformation in minimap
This commit is contained in:
parent
1efce9ae29
commit
7a1355d415
@ -518,10 +518,10 @@ void RaceGUI::drawGlobalMiniMap()
|
||||
dynamic_cast<const SpareTireAI*>(kart->getController());
|
||||
// don't draw eliminated kart
|
||||
if(kart->isEliminated() && !(sta && sta->isMoving())) continue;
|
||||
const Vec3& xyz = kart->getXYZ();
|
||||
const Vec3& xyz = kart->getSmoothedTrans().getOrigin();
|
||||
Vec3 draw_at;
|
||||
track->mapPoint2MiniMap(xyz, &draw_at);
|
||||
|
||||
|
||||
video::ITexture* icon = sta ?
|
||||
irr_driver->getTexture(FileManager::GUI, "heart.png") :
|
||||
kart->getKartProperties()->getMinimapIcon();
|
||||
|
Loading…
Reference in New Issue
Block a user