1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-21 20:29:59 +01:00

Small update

This commit is contained in:
Miloslav Číž 2018-09-11 08:39:50 +02:00
parent 1373f5e2e4
commit 5fc4d1402c

View file

@ -955,8 +955,6 @@ void _columnFunctionSimple(HitResult *hits, uint16_t hitCount, uint16_t x,
coordHelper = -1 * wallStart; coordHelper = -1 * wallStart;
coordHelper = coordHelper >= 0 ? coordHelper : 0; coordHelper = coordHelper >= 0 ? coordHelper : 0;
wallStart = clamp(wallStart,0,_camResYLimit); wallStart = clamp(wallStart,0,_camResYLimit);
wallEnd = clamp(wallStart + wallScreenHeight,0,_camResYLimit); wallEnd = clamp(wallStart + wallScreenHeight,0,_camResYLimit);
} }