Skip to content

Commit

Permalink
HudSound.cpp: correct ambiguity with set_volume
Browse files Browse the repository at this point in the history
  • Loading branch information
revolucas committed Sep 10, 2016
1 parent 4145d6c commit f59215c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/HudSound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void HUD_SOUND_ITEM::PlaySound( HUD_SOUND_ITEM& hud_snd,
flags,
hud_snd.m_activeSnd->delay);

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

void HUD_SOUND_ITEM::StopSound(HUD_SOUND_ITEM& hud_snd)
Expand Down

0 comments on commit f59215c

Please sign in to comment.