Replace tab with 4 spaces
This commit is contained in:
@@ -1077,17 +1077,17 @@ void RaceGUIBase::drawPlayerIcon(AbstractKart *kart, int x, int y, int w,
|
||||
}
|
||||
}
|
||||
|
||||
//lap flag for finished karts
|
||||
//lap flag for finished karts
|
||||
if (kart->hasFinishedRace())
|
||||
{
|
||||
{
|
||||
if (m_lap_flag != NULL)
|
||||
{
|
||||
{
|
||||
const core::rect<s32> rect(core::position2d<s32>(0, 0),
|
||||
m_lap_flag->getSize());
|
||||
const core::rect<s32> pos1(x - 20, y - 10, x + w - 20, y + w - 10);
|
||||
draw2DImage(m_lap_flag, pos1, rect, NULL, NULL, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
} // drawPlayerIcon
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ RaceGUIOverworld::RaceGUIOverworld()
|
||||
m_trophy[3] = irr_driver->getTexture(FileManager::GUI_ICON, "cup_platinum.png" );
|
||||
|
||||
float scaling = std::min(irr_driver->getFrameSize().Height,
|
||||
irr_driver->getFrameSize().Width) / 420.0f;
|
||||
irr_driver->getFrameSize().Width) / 420.0f;
|
||||
const float map_size = 250.0f;
|
||||
|
||||
bool multitouch_enabled = (UserConfigParams::m_multitouch_active == 1 &&
|
||||
|
||||
Reference in New Issue
Block a user