fix index

This commit is contained in:
konstin 2014-07-25 13:02:47 +02:00
parent eae71b3df9
commit 58a8a4ff31

View File

@ -85,7 +85,7 @@ DEFINE_SCREEN_SINGLETON( GrandPrixLose );
void GrandPrixLose::onCutsceneEnd() void GrandPrixLose::onCutsceneEnd()
{ {
for (int i = 0; i < 3; i++) for (int i = 0; i < 4; i++)
{ {
if (m_kart_node[i] != NULL) if (m_kart_node[i] != NULL)
m_kart_node[i]->getPresentation<TrackObjectPresentationSceneNode>()->getNode()->remove(); m_kart_node[i]->getPresentation<TrackObjectPresentationSceneNode>()->getNode()->remove();