ValveSoftware / halflife

Half-Life 1 engine based games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[GoldSrc] Inconsistent Closing Sound in VGUI Windows in Main Menu

0Ky opened this issue · comments

Description

In all GoldSrc engine-based games, including Half-Life, there is an inconsistency in audio feedback when closing VGUI windows in the main menu. When a VGUI window is closed by clicking the X button located at the top right corner, a closing sound is played. However, this sound is not played when the window is closed using the "cancel" or "ok" button.

Steps to Reproduce

  1. Open the main menu in Half-Life or any GoldSrc engine-based game.
  2. Open any VGUI window (e.g., Options, Load Game).
  3. Close the window using the X button and observe the closing sound.
  4. Reopen the window and close it using the "cancel" or "ok" button. Notice the absence of the closing sound.

Expected Behavior

Consistent audio feedback should be provided for both methods of closing VGUI windows. Either both should have the closing sound or neither.

Game Version

Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 01:03:30 Dec  1 2023 (9899)

Video Demonstration

GoldSrc_NoSndCancel.mp4

* Don't forget to unmute the audio.