fix comparison (#3684)
This commit is contained in:
parent
9fb90d0c31
commit
6a361db994
@ -59,6 +59,7 @@ LinearWorld::LinearWorld() : WorldWithRank()
|
||||
m_fastest_lap_ticks = INT_MAX;
|
||||
m_valid_reference_time = false;
|
||||
m_live_time_difference = 0.0f;
|
||||
m_fastest_lap_kart_name = "";
|
||||
} // LinearWorld
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -1660,7 +1660,7 @@ void RaceResultGUI::displayCTFResults()
|
||||
|
||||
core::stringw best_lap_by = dynamic_cast<LinearWorld*>(World::getWorld())->getFastestLapKartName();
|
||||
|
||||
if (best_lap_by != NULL)
|
||||
if (best_lap_by != "")
|
||||
{
|
||||
//I18N: is used to indicate who has the bast laptime (best laptime "by kart_name")
|
||||
core::stringw best_lap_by_string = _("by %s", best_lap_by);
|
||||
|
Loading…
Reference in New Issue
Block a user