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:
parent
41bcf97f36
commit
8ffa4b3d81
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue