Fix starting distance not being correctly set.

openmw-39
Aesylwinn 9 years ago
parent 08d055ca23
commit 09bce73c33

@ -502,7 +502,7 @@ namespace CSVRender
if (intersector->getIntersections().begin() != intersector->getIntersections().end())
{
mCenter = intersector->getIntersections().begin()->getWorldIntersectPoint();
mDistance = (eye - center).length();
mDistance = (eye - mCenter).length();
}
else
{

Loading…
Cancel
Save