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:
Subv2112
2012-01-29 15:28:19 -05:00
parent 89297933d9
commit f525087538
+1 -1
View File
@@ -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