Skip to content

Make stalactite's layer more consistent #2063

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

Closed
wants to merge 1 commit into from

Conversation

Semphriss
Copy link
Member

Prior to this PR, the stalactite would be rendered on LAYER_OBJECTS (layer 50) when inactive, and, when shaking or falling, on its internal m_layer, which defaults to LAYER_TILES - 1 (layer -1) and cannot be edited from the editor.

This PR makes it more consistent by:

  • Using m_layer everywhere.
  • Setting m_layer to LAYER_OBJECTS, which makes the stalactite render and fall on the same layer it used to render to when standing still.

Fixes #1991

@Alasdairbugs
Copy link
Contributor

no, because this makes stalactites appear over the bottom of icy background tiles when they are set to 0, interactive, which is the case for like. all levels ever made.

@Semphriss Semphriss closed this Mar 2, 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

Successfully merging this pull request may close these issues.

Icicle goes behind switch
2 participants