Fix null ref ptr static analysis
This commit is contained in:
parent
084ae89b55
commit
d34bdc2344
@ -243,8 +243,7 @@ void TrackObjectManager::castRay(const btVector3 &from,
|
||||
{
|
||||
distance = hit_point->distance(from);
|
||||
}
|
||||
const TrackObject* curr;
|
||||
for_in(curr, m_driveable_objects)
|
||||
for (const TrackObject* curr : m_driveable_objects)
|
||||
{
|
||||
btVector3 new_hit_point;
|
||||
const Material *new_material;
|
||||
|
Loading…
Reference in New Issue
Block a user