Don't use 'final camera' in FTL mode (since karts will usually
not be near the finish line when the race is over) git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
14e9ce673f
commit
d9db33a3a0
@ -296,7 +296,10 @@ void PlayerKart::setPosition(int p)
|
||||
void PlayerKart::raceFinished(float time)
|
||||
{
|
||||
Kart::raceFinished(time);
|
||||
m_camera->setMode(Camera::CM_FINAL); // set race over camera
|
||||
// Set race over camera (but not in follow the leader mode, since the kart
|
||||
// will most likely not be at the starting line at the end of the race
|
||||
if(race_manager->getMinorMode()!=RaceManager::MINOR_MODE_FOLLOW_LEADER)
|
||||
m_camera->setMode(Camera::CM_FINAL);
|
||||
RaceGUI* m=(RaceGUI*)menu_manager->getRaceMenu();
|
||||
if(m)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user