forked from teamnwah/openmw-tes3coop
Increase the ray distance for dropObjectOnGround (Fixes #3010)
This commit is contained in:
parent
0965a9059d
commit
8cd41f0ed4
1 changed files with 1 additions and 1 deletions
|
@ -1870,7 +1870,7 @@ namespace MWWorld
|
||||||
orig.z() += 20;
|
orig.z() += 20;
|
||||||
osg::Vec3f dir (0, 0, -1);
|
osg::Vec3f dir (0, 0, -1);
|
||||||
|
|
||||||
float len = 100.0;
|
float len = 1000000.0;
|
||||||
|
|
||||||
MWRender::RenderingManager::RayResult result = mRendering->castRay(orig, orig+dir*len, true, true);
|
MWRender::RenderingManager::RayResult result = mRendering->castRay(orig, orig+dir*len, true, true);
|
||||||
if (result.mHit)
|
if (result.mHit)
|
||||||
|
|
Loading…
Reference in a new issue