-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Make minimap respect drawtype = "airlike"
#16251
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
Conversation
drawtype = "airlike"
drawtype = "airlike"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could consider using minimap clolor alpha == 0 instead.
But this is fine enough, works.
Does the following line not need to be updated? If so, why? Line 149 in 3f0d9e4
|
No, it does not as |
Alright, makes sense. 👍 |
Solves #15403 by making minimap respect
drawtype = "airlike"
.Make minimap treat all airlike nodes as transparent.
It checks for draw type rather than content id.
Yes, Node (mtg firefly) shows as black on minimap #15403
Yes its a bug fix.
It is a bug fix
To do
Ready for Review.
How to test
Pull, compile, add mtg, place a fire fly at day time and wait for it to hide, and observer that there is no black spot on minimap.