From b69dbe1db39553a5cbff27e0daa4b9d9e9434dcc Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 21 May 2023 20:00:58 +1000 Subject: [PATCH] - Remove some debug leftovers. --- source/core/gamefuncs.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/core/gamefuncs.cpp b/source/core/gamefuncs.cpp index e3389497d..1975d94c2 100644 --- a/source/core/gamefuncs.cpp +++ b/source/core/gamefuncs.cpp @@ -537,11 +537,6 @@ double intersectSprite(DCoreActor* actor, const DVector3& start, const DVector3& auto sprwidth = tex->GetDisplayWidth() * actor->spr.scale.X * 0.5; auto point = start + direction * factor; - if (actor->time == 283) - { - int a = 0; - } - // Using proper distance here, Build originally used the sum of x- and y-distance if ((point.XY() - actor->spr.pos.XY()).LengthSquared() > sprwidth * sprwidth * 0.5) return -1; // too far away