fix debug message

This commit is contained in:
Nikolay Korolev 2019-07-28 13:38:25 +03:00
parent 128d31746d
commit 6dfb2ca79e

View File

@ -184,7 +184,6 @@ bool CCarGenerator::CheckIfWithinRangeOfAnyPlayer()
return false;
if (distance < nearclip)
return false;
debug("Value to test: %f\n", DotProduct2D(direction, FindPlayerSpeed()));
return DotProduct2D(direction, FindPlayerSpeed()) <= 0;
}