Core/Movement: Correctly fixed flying npcs falling to ground, no more glitches with this
Signed-off-by: Subv2112 <[email protected]>
This commit is contained in:
@@ -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