Sort kart with position for soccer spectate with icons code updated

This commit is contained in:
Benau 2020-04-03 14:19:20 +08:00
parent 0d0da15a62
commit 84d38cd221

View File

@ -1464,6 +1464,7 @@ void ClientLobby::changeSpectateTarget(PlayerAction action, int value,
bool sort_kart_for_position = bool sort_kart_for_position =
RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_FREE_FOR_ALL || RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_FREE_FOR_ALL ||
RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_CAPTURE_THE_FLAG || RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_CAPTURE_THE_FLAG ||
RaceManager::get()->getMinorMode() == RaceManager::MINOR_MODE_SOCCER ||
RaceManager::get()->modeHasLaps(); RaceManager::get()->modeHasLaps();
if (sort_kart_for_position) if (sort_kart_for_position)
{ {