Replace tab with 4 spaces

This commit is contained in:
Benau
2019-05-14 08:34:36 +08:00
parent e972c7d40f
commit 45cafe9984
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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 &&