Added an end-controller to battle mode to fix bug #3104309.

The controller committed in r6489 are now aware of battle
mode (i.e. do nothing in battle mode, and don't even use
any quad data structure, which doesn't exist in battle
mode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-11-09 22:13:09 +00:00
parent 8d40c65190
commit b4d7de5c59

View File

@ -552,6 +552,7 @@ void Kart::finishedRace(float time)
}
else if (race_manager->getMinorMode() == RaceManager::MINOR_MODE_3_STRIKES)
{
setController(new EndController(this, m_controller->getPlayer()));
}
} // finishedRace