Bugfix: karts which had their arrival time estimated would not get the appropriate

points displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2010-06-07 21:40:45 +00:00
parent e0328642f1
commit 9bf9dea62c

View File

@@ -158,7 +158,8 @@ void WorldStatus::update(const float dt)
// Change to next phase if delay is over
if(m_auxiliary_timer > stk_config->m_delay_finish_time)
{
m_phase = RESULT_DISPLAY_PHASE;
m_phase = RESULT_DISPLAY_PHASE;
terminateRace();
new RaceOverDialog(0.6f, 0.9f);
}
break;
@@ -166,7 +167,6 @@ void WorldStatus::update(const float dt)
case RESULT_DISPLAY_PHASE :
if(((RaceOverDialog*)GUIEngine::ModalDialog::getCurrent())->menuIsFinished())
{
terminateRace();
m_phase = FINISH_PHASE;
}
break;