Skip to content

Commit 97d6148

Browse files
committed
CSettings: further clarification to ResetGTAVolume comments
1 parent 8a769c2 commit 97d6148

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Client/core/CCore.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ CCore::~CCore(void)
184184
// Destroy tray icon
185185
delete m_pTrayIcon;
186186

187-
// Reset GTA volume levels by ignoring master level
187+
// This will save GTA volume using the GTA volume level fader value set in settings
188+
// and will not be "attenuated" by the master volume level setting.
188189
m_pLocalGUI->GetMainMenu()->GetSettingsWindow()->ResetGTAVolume();
189190

190191
// Delete the mod manager

Client/core/CSettings.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,8 @@ bool CSettings::OnVideoDefaultClick(CGUIElement* pElement)
17621762

17631763
void CSettings::ResetGTAVolume()
17641764
{
1765-
// This will reset and save GTA volume to given GTA volume levels and skip master volume level
1765+
// This will save GTA volume using the GTA volume level fader value set in settings
1766+
// and will not be "attenuated" by the master volume level setting.
17661767
CGameSettings* gameSettings = CCore::GetSingleton().GetGame()->GetSettings();
17671768
gameSettings->SetRadioVolume(m_fRadioVolume * 64.0f);
17681769
gameSettings->SetSFXVolume(m_fSFXVolume * 64.0f);

0 commit comments

Comments
 (0)