Core/Movement: Correctly fixed flying npcs falling to ground, no more glitches with this
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
This commit is contained in:
1 parent
89297933d9
commit
f525087538
1 file changed
+1
-1
@@ -2526,7 +2526,7 @@ void WorldObject::GetNearPoint(WorldObject const* /*searcher*/, float &x, float
|
||||
{
|
||||
GetNearPoint2D(x, y, distance2d+searcher_size, absAngle);
|
||||
z = GetPositionZ();
|
||||
UpdateGroundPositionZ(x, y, z);
|
||||
UpdateAllowedPositionZ(x, y, z);
|
||||
|
||||
/*
|
||||
// if detection disabled, return first point
|
||||
|
||||
Reference in new issue
Block a user