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:
parent
8d40c65190
commit
b4d7de5c59
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user