Fix from Niklas.

This commit is contained in:
henry
2009-05-05 21:25:48 +01:00
parent 01184dfb33
commit 162f9d57d8

View File

@ -8,7 +8,7 @@ scalar magVRel = mag(vRel);
vector p = p2().position() - p1().position();
scalar dist = mag(p);
scalar vAlign = vRel & (p/dist);
scalar vAlign = vRel & (p/(dist+SMALL));
if (vAlign > 0)
{