-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Adjacent 'standing mirrors' block vision even when standing on them #28694
Comments
Looks like this is a bug in the LOS system. |
Not sure if this is lighting or LOS, I'm pretty sure your character is the source of the light, so it can easily be the case that the square is not illuminated rather than invisible, and the cause is some interaction caused by standing on an opaque tile (which is not a typical situation) while adjacent to another opaque tile. |
I SUSPECT all we need to do is to set the square the player is standing on to transparent when calculating FoV and Dynamic lighting, probably here Line 7594 in cee2784 |
I should've tested this, but I'm pretty sure that I had the stats/eye encumbrance to see 1 space around me without my flashlight in that basement. |
Thanks for confirming, so it's definitely FoV then.
|
# |<-- Using around 50, Maximum 72 Characters -->| Allow character to see an opaque tile while standing on another adjacent opaque tile. # Explain why this change is being made # |<---- Limit Each Line to a Maximum Of 72 Characters ---->| # Provide links or keys to any relevant tickets, articles or other resources # Example: fixes CleverRaven#1234, closes CleverRaven#2345, resolves CleverRaven#3456, references CleverRaven#4567 Fixes CleverRaven#28694
…ent opaque tile. Fixes CleverRaven#28694
Describe the bug
When there are 3+ adjacent mirrors along a wall, standing on the middle one doesn't reveal vision of the wall as it should. This doesn't occur when the mirrors aren't along the wall.
This particular edge case isn't too impactful, but I figured I would report it in case there are other examples or it impacts the vision system.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When standing on furniture, I should be able to see all around it.
Screenshots
Mirrors block view (expected, right?):
Standing on the center mirror doesn't reveal the wall behind it:
Moving the mirrors to the sides reveals the wall:
Moving the three mirrors away from the wall fixes the issue:
This bug occurs even when the mirrors are broken:
Versions and configuration(please complete the following information):
The text was updated successfully, but these errors were encountered: