forked from mirror/openmw-tes3mp
Fix starting distance not being correctly set.
This commit is contained in:
parent
08d055ca23
commit
09bce73c33
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue