Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprites are sometimes visible through walls #13

Open
viciious opened this issue May 30, 2022 · 0 comments
Open

Sprites are sometimes visible through walls #13

viciious opened this issue May 30, 2022 · 0 comments

Comments

@viciious
Copy link

viciious commented May 30, 2022

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 viciious changed the title Sprites would sometimes clip through walls Sprites would sometimes be visible through walls Jun 4, 2022
@viciious viciious changed the title Sprites would sometimes be visible through walls Sprites are sometimes be visible through walls Jun 4, 2022
@viciious viciious changed the title Sprites are sometimes be visible through walls Sprites are sometimes visible through walls Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant