Fix copy-paste error in pointInQuad function.
The AI can now finally drive a loop in newton.