Don't show kart rank in free for all battle, fix #4607
This commit is contained in:
parent
0d54c3d60b
commit
9221d39e6e
@ -1345,7 +1345,9 @@ void RaceResultGUI::unload()
|
|||||||
: video::SColor(255, 255, 255, 255);
|
: video::SColor(255, 255, 255, 255);
|
||||||
|
|
||||||
unsigned int current_x = x;
|
unsigned int current_x = x;
|
||||||
if (!ri->m_finish_time_string.empty() && RaceManager::get()->getNumberOfKarts() >= 10)
|
if (RaceManager::get()->getMinorMode() != RaceManager::MINOR_MODE_FREE_FOR_ALL &&
|
||||||
|
!ri->m_finish_time_string.empty() &&
|
||||||
|
RaceManager::get()->getNumberOfKarts() >= 10)
|
||||||
{
|
{
|
||||||
int pos_rank_width = m_font->getDimension(core::stringw(n + 1).c_str()).Width;
|
int pos_rank_width = m_font->getDimension(core::stringw(n + 1).c_str()).Width;
|
||||||
core::recti pos_rank(current_x, y, pos_rank_width, m_distance_between_rows);
|
core::recti pos_rank(current_x, y, pos_rank_width, m_distance_between_rows);
|
||||||
|
Loading…
Reference in New Issue
Block a user