[Doom] Exit switches play the wrong sound
Summary says all. In Beta 6.9 they play "swtchx" when they should be playing "swtchn".
Labels: Sound Effects
#1 Updated by danij almost 9 years ago
Another instance where the source says one thing but does another due to a bug. The original P_ChangeSwitchTexture has a special case for exit switches which is supposed to always play swtchx for exits using line special 11. However the caller (in this case P_UseSpecialLine) short circuits this logic by specifying that it is a non-repeatable action. So in other words, the special case is never actually hit and swtchn is played (the default sound).
Clearly it was intended that swtchx was to be played.
Fixed for the upcoming 1.9.0-beta6.10