calico-doom icon indicating copy to clipboard operation
calico-doom copied to clipboard

Sprites are sometimes visible through walls

Open viciious opened this issue 2 years ago • 0 comments

https://github.com/team-eternity/calico-doom/blob/master/src/r_phase2.c#L155

The case when b_floorheight equals 0 isn't properly handled, so depending on the relative height of the floor, sprites would sometimes clip through walls. The first part of the condition should actually be b_floorheight >= 0 && b_floorheight > f_floorheight.

viciious avatar May 30 '22 14:05 viciious