Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c452bf9d97
commit
b4ce78b339
@ -393,7 +393,7 @@ void SoccerWorld::initKartList()
|
||||
for(unsigned int i=0; i<kart_amount; i++)
|
||||
{
|
||||
scene::ISceneNode *arrowNode;
|
||||
float arrow_pos_height = m_karts[i]->getKartModel()->getHeight()+0.5;
|
||||
float arrow_pos_height = m_karts[i]->getKartModel()->getHeight()+0.5f;
|
||||
|
||||
if(race_manager->getLocalKartInfo(i).getSoccerTeam() == SOCCER_TEAM_RED)
|
||||
arrowNode = irr_driver->addBillboard(core::dimension2d<irr::f32>(0.3f,0.3f),
|
||||
|
@ -275,8 +275,8 @@ void RaceGUI::drawScores()
|
||||
default: break;
|
||||
}
|
||||
core::rect<s32> indicatorPos(offsetX, offsetY,
|
||||
offsetX + m_marker_player_size/1.25,
|
||||
offsetY + m_marker_player_size/1.25);
|
||||
offsetX + (int)(m_marker_player_size/1.25f),
|
||||
offsetY + (int)(m_marker_player_size/1.25f));
|
||||
core::rect<s32> sourceRect(core::position2d<s32>(0,0),
|
||||
team_icon->getOriginalSize());
|
||||
irr_driver->getVideoDriver()->draw2DImage(team_icon,indicatorPos,sourceRect,
|
||||
|
Loading…
Reference in New Issue
Block a user