File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -566,10 +566,10 @@ void RaceResultGUI::displayCTFResults()
566566 if (ctf->getKartTeam (kart_id) != KART_TEAM_RED)
567567 continue ;
568568 result_text = kart->getController ()->getName ();
569- if (race_manager->getKartGlobalPlayerId (i ) > -1 )
569+ if (race_manager->getKartGlobalPlayerId (kart_id ) > -1 )
570570 {
571571 const core::stringw& flag = StringUtils::getCountryFlag (
572- race_manager->getKartInfo (i ).getCountryCode ());
572+ race_manager->getKartInfo (kart_id ).getCountryCode ());
573573 if (!flag.empty ())
574574 {
575575 result_text += L" " ;
@@ -614,10 +614,10 @@ void RaceResultGUI::displayCTFResults()
614614 if (ctf->getKartTeam (kart_id) != KART_TEAM_BLUE)
615615 continue ;
616616 result_text = kart->getController ()->getName ();
617- if (race_manager->getKartGlobalPlayerId (i ) > -1 )
617+ if (race_manager->getKartGlobalPlayerId (kart_id ) > -1 )
618618 {
619619 const core::stringw& flag = StringUtils::getCountryFlag (
620- race_manager->getKartInfo (i ).getCountryCode ());
620+ race_manager->getKartInfo (kart_id ).getCountryCode ());
621621 if (!flag.empty ())
622622 {
623623 result_text += L" " ;
You can’t perform that action at this time.
0 commit comments