mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 23:15:36 +00:00
Increase maximum height for finding spawn points to 500 (Fixes #2056)
This commit is contained in:
parent
aa02974d3b
commit
c194226d08
1 changed files with 1 additions and 1 deletions
|
@ -1294,7 +1294,7 @@ namespace MWWorld
|
||||||
|
|
||||||
if (force || !isFlying(ptr))
|
if (force || !isFlying(ptr))
|
||||||
{
|
{
|
||||||
Ogre::Vector3 traced = mPhysics->traceDown(ptr, 300);
|
Ogre::Vector3 traced = mPhysics->traceDown(ptr, 500);
|
||||||
if (traced.z < pos.pos[2])
|
if (traced.z < pos.pos[2])
|
||||||
pos.pos[2] = traced.z;
|
pos.pos[2] = traced.z;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue