Increase the ray distance for dropObjectOnGround (Fixes #3010)

openmw-38
scrawl 9 years ago
parent 0965a9059d
commit 8cd41f0ed4

@ -1870,7 +1870,7 @@ namespace MWWorld
orig.z() += 20;
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);
if (result.mHit)

Loading…
Cancel
Save