Fix GCC build

This commit is contained in:
Marianne Gagnon 2015-11-18 19:47:44 -05:00
parent 5aa342ba30
commit 0934373fca

View File

@ -349,7 +349,7 @@ unsigned IrrDriver::updateLightsInfo(scene::ICameraSceneNode * const camnode,
m_lights[i]->render(); m_lights[i]->render();
continue; continue;
} }
core::vector3df &light_cam_vector = core::vector3df light_cam_vector =
(m_lights[i]->getAbsolutePosition() - campos); (m_lights[i]->getAbsolutePosition() - campos);
float length = light_cam_vector.getLength(); float length = light_cam_vector.getLength();