Reset counter when game is restarted

This commit is contained in:
Deve 2014-09-29 21:56:32 +02:00
parent 1c97476369
commit d0e30c15a5

View File

@ -92,6 +92,7 @@ void LinearWorld::reset()
{
m_kart_info[i].reset();
m_kart_info[i].getTrackSector()->update(m_karts[i]->getXYZ());
m_karts[i]->setWrongwayCounter(0);
} // next kart
// At the moment the last kart would be the one that is furthest away