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

Fix a rendering bug

This commit is contained in:
Miloslav Číž 2018-09-29 13:17:04 +02:00
parent a5fa09de35
commit d3368392c2

View file

@ -1284,7 +1284,7 @@ void _RCL_columnFunctionComplex(RCL_HitResult *hits, uint16_t hitCount, uint16_t
if (!drawingHorizon)
{
hit = hits[j];
distance = hit.distance;
distance = RCL_nonZero(hit.distance);
p.hit = hit;
fWallHeight = _RCL_floorFunction(hit.square.x,hit.square.y);