fix 1734d74c6b - only use ranks in GP, else use row number.

This commit is contained in:
lokpro 2021-10-23 00:03:54 +08:00
parent 1734d74c6b
commit 550458bebd

View File

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