Upper -> Middle -> Lower
However, in GZDoom, this is the priority order:
Upper -> Lower -> Middle
The effect is that if a wall has both middle and lower switch textures but no upper switch texture, then the middle texture doesn't change upon activation even though it should.
I have attached a test map, which replaces Doom's E1M1. It has four columns of switches configured as follows, from left to right:
- Middle and lower switch textures set, with only the middle switch texture visible. In vanilla, this texture changes upon activation, but in GZDoom, it doesn't.
- Upper and lower switch textures set, with both visible. In both vanilla and GZDoom, only the top texture changes upon activation.
- Upper and middle switch textures set, with only the middle switch texture visible. In both vanilla and GZDoom, this texture does not change upon activation.
- Upper, middle, lower switch textures set, with only the middle switch texture visible. In both vanilla and GZDoom, this texture does not change upon activation.
An example of a map affected by this bug is REKKR's E2M9. In the room just south of position (1913, -4041, 0) are a number of eye switches. Each eye should close when activated. Most of those switches only have a middle switch texture, but three of them also have an unseen bottom switch texture. Due to the bug described in this report, these three eyes in particular fail to close in GZDoom.