Skip to content

Commit f59215c

Browse files
committed
HudSound.cpp: correct ambiguity with set_volume
1 parent 4145d6c commit f59215c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrGame/HudSound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void HUD_SOUND_ITEM::PlaySound( HUD_SOUND_ITEM& hud_snd,
105105
flags,
106106
hud_snd.m_activeSnd->delay);
107107

108-
hud_snd.m_activeSnd->snd.set_volume (hud_snd.m_activeSnd->volume * b_hud_mode?psHUDSoundVolume:1.0f);
108+
hud_snd.m_activeSnd->snd.set_volume(hud_snd.m_activeSnd->volume * (b_hud_mode ? psHUDSoundVolume : 1.0f));
109109
}
110110

111111
void HUD_SOUND_ITEM::StopSound(HUD_SOUND_ITEM& hud_snd)

0 commit comments

Comments
 (0)