From 7bdb98cc0b3735c4c95cd45c11183e1147bfff26 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 30 Jun 2016 11:31:00 +0200 Subject: [PATCH] - removed debug stuff. --- src/p_maputl.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/p_maputl.h b/src/p_maputl.h index 0e87e501a..81d3c9d13 100644 --- a/src/p_maputl.h +++ b/src/p_maputl.h @@ -46,15 +46,9 @@ inline int P_PointOnLineSidePrecise(const DVector2 &pt, const line_t *line) return (pt.Y - line->v1->fY()) * line->Delta().X + (line->v1->fX() - pt.X) * line->Delta().Y > EQUAL_EPSILON; } -extern line_t *lines; inline int P_PointOnLineSide (double x, double y, const line_t *line) { extern int P_VanillaPointOnLineSide(double x, double y, const line_t* line); - if (line - lines == 6180) - { - int a = 0; - } - return i_compatflags2 & COMPATF2_POINTONLINE ? P_VanillaPointOnLineSide(x, y, line) : P_PointOnLineSidePrecise(x, y, line); }