Reset counter when game is restarted
This commit is contained in:
parent
1c97476369
commit
d0e30c15a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user