1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 17:15:33 +00:00

Increase maximum height for finding spawn points to 500 (Fixes #2056)

This commit is contained in:
scrawl 2014-10-26 18:07:49 +01:00
parent aa02974d3b
commit c194226d08

View file

@ -1294,7 +1294,7 @@ namespace MWWorld
if (force || !isFlying(ptr))
{
Ogre::Vector3 traced = mPhysics->traceDown(ptr, 300);
Ogre::Vector3 traced = mPhysics->traceDown(ptr, 500);
if (traced.z < pos.pos[2])
pos.pos[2] = traced.z;
}