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

Bug workaround

This commit is contained in:
Miloslav Číž 2018-09-11 13:33:06 +02:00
parent 41bcf97f36
commit 8ffa4b3d81

View file

@ -804,6 +804,9 @@ void _columnFunction(HitResult *hits, uint16_t hitCount, uint16_t x, Ray ray)
if (zTop <= zBottomCeil)
zBottomCeil = zTop; // walls on ceiling and floor met
if (z1Screen == 0) // TMP: nasty shear bug workaround
z1Screen = -1;
// draw floor until wall
p.isWall = 0;