Add initial values in TrackObject

This commit is contained in:
Deve 2015-01-13 17:57:16 +01:00
parent 6e4f8eef9e
commit cacb474c42

View File

@ -65,7 +65,11 @@ TrackObject::TrackObject(const core::vector3df& xyz, const core::vector3df& hpr,
m_physical_object = NULL;
m_interaction = interaction;
m_presentation = presentation;
m_soccer_ball = false;
m_is_driveable = false;
m_soccer_ball = false;
m_garage = false;
m_distance = 0;
m_type = "";
if (m_interaction != "ghost" && m_interaction != "none" &&
physics_settings )