mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-11-21 20:29:59 +01:00
Fix a rendering bug
This commit is contained in:
parent
a5fa09de35
commit
d3368392c2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue