From a331fd0385af4f21febf1a51159110e3b98b0004 Mon Sep 17 00:00:00 2001 From: Explodingbill Date: Thu, 29 Aug 2024 22:17:53 +1000 Subject: [PATCH] Update Trajectory.cpp --- src/Hacks/Show Trajectory/Trajectory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Hacks/Show Trajectory/Trajectory.cpp b/src/Hacks/Show Trajectory/Trajectory.cpp index cb49373..e54cef6 100644 --- a/src/Hacks/Show Trajectory/Trajectory.cpp +++ b/src/Hacks/Show Trajectory/Trajectory.cpp @@ -5,6 +5,8 @@ void drawSegmentAlternative(CCDrawNode* drawNode, const CCPoint& startPoint, const CCPoint& endPoint, float radius, const ccColor4F& color) // taken from the depths of google { + return; + CCPoint direction = ccpNormalize(ccpSub(endPoint, startPoint)); CCPoint perpendicular = ccp(-direction.y, direction.x);