Fix #1429 (physical objects do not reset when restarting a race).
This commit is contained in:
parent
425675bdac
commit
d3dbc42174
@ -243,9 +243,9 @@ TrackObject::~TrackObject()
|
||||
*/
|
||||
void TrackObject::reset()
|
||||
{
|
||||
if (m_presentation != NULL) m_presentation->reset();
|
||||
|
||||
if (m_animator != NULL) m_animator->reset();
|
||||
if (m_presentation ) m_presentation->reset();
|
||||
if (m_animator ) m_animator->reset();
|
||||
if(m_physical_object) m_physical_object->reset();
|
||||
} // reset
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user