fixed search-and-replace introduced problem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
f055a2c6bd
commit
739436fff9
@ -239,7 +239,7 @@ void LinearWorld::doLapCounting ( KartInfo& kart_info, Kart* kart )
|
||||
}
|
||||
// Race finished
|
||||
if(kart_info.m_race_lap >= race_manager->getNumLaps() &&
|
||||
race_manager->getMinorMode() != RaceManager::getWorld()->raceHasLaps())
|
||||
RaceManager::getWorld()->raceHasLaps())
|
||||
{
|
||||
// A client wait does not detect race finished by itself, it will
|
||||
// receive a message from the server. So a client does not do
|
||||
|
Loading…
Reference in New Issue
Block a user