From 5fc4d1402c73a9a373597e5d73febb1221938cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Tue, 11 Sep 2018 08:39:50 +0200 Subject: [PATCH] Small update --- raycastlib.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/raycastlib.h b/raycastlib.h index 4a39745..7f385f3 100644 --- a/raycastlib.h +++ b/raycastlib.h @@ -955,8 +955,6 @@ void _columnFunctionSimple(HitResult *hits, uint16_t hitCount, uint16_t x, coordHelper = -1 * wallStart; coordHelper = coordHelper >= 0 ? coordHelper : 0; - - wallStart = clamp(wallStart,0,_camResYLimit); wallEnd = clamp(wallStart + wallScreenHeight,0,_camResYLimit); }