Skip to content

Chat sound CVar fix

Adam Kaminski requested to merge topic/default/chat-sound-fix into branch/default

This addresses 0004382. The CVars chat_sound and privatechat_sound determine which sound to play when receiving (private) chat messages. This fix ensures that the "Doom 2" (misc/chat) option can't be chosen in Doom 1 because it never worked (note: because Doom 1 and 2 share the same config, if a user chooses the "Doom 2" option for Doom 2, TNT, or Plutonia, but then plays Doom 1, Zandronum can temporarily set the option to "Doom 1" and restore the old value upon closing the game).

Likewise, in non-Doom IWADs (e.g. Heretic, Hexen, Strife, etc.), the chat sound options in the menu are renamed according to that IWAD. So, instead of "Doom 1" being an option in the menu in Heretic, it's now "Heretic".

Merge request reports

Loading