From 550458bebd7322a2d48b68ec8b14aa3f936b695e Mon Sep 17 00:00:00 2001 From: lokpro <2010297+lokpro@users.noreply.github.com> Date: Sat, 23 Oct 2021 00:03:54 +0800 Subject: [PATCH] fix https://github.com/supertuxkart/stk-code/commit/1734d74c6bfcc7fbb31f1e862222fc9e4d3e0168 - only use ranks in GP, else use row number. --- src/states_screens/race_result_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/states_screens/race_result_gui.cpp b/src/states_screens/race_result_gui.cpp index cf0a5fc74..845c3856b 100644 --- a/src/states_screens/race_result_gui.cpp +++ b/src/states_screens/race_result_gui.cpp @@ -1382,6 +1382,7 @@ void RaceResultGUI::unload() RaceManager::get()->getNumberOfKarts() >= 10) { int rankNo = ( + RaceManager::get()->getMajorMode()==RaceManager::MAJOR_MODE_GRAND_PRIX && m_animation_state >= RR_RESORT_TABLE ? ri->m_new_gp_rank : n