diff --git a/src/game/server/gameworld.cpp b/src/game/server/gameworld.cpp index 6a66d526f..e2d08ed66 100644 --- a/src/game/server/gameworld.cpp +++ b/src/game/server/gameworld.cpp @@ -188,6 +188,7 @@ CCharacter *CGameWorld::IntersectCharacter(vec2 Pos0, vec2 Pos1, float Radius, v float Len = distance(p->m_Pos, IntersectPos); if(Len < p->m_ProximityRadius+Radius) { + Len = distance(Pos0, IntersectPos); if(Len < ClosestLen) { NewPos = IntersectPos;