mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
Remove unnecessary initialization of sound listener position
The initial value is already the zero-position and the listener position is always set while online.
This commit is contained in:
parent
f9df4a85be
commit
6c6fd86d1d
|
@ -79,8 +79,6 @@ void CSounds::OnInit()
|
|||
Sound()->SetChannel(CSounds::CHN_GLOBAL, m_GameSoundVolume, 0.0f);
|
||||
Sound()->SetChannel(CSounds::CHN_MAPSOUND, m_MapSoundVolume, 1.0f);
|
||||
|
||||
Sound()->SetListenerPos(0.0f, 0.0f);
|
||||
|
||||
ClearQueue();
|
||||
|
||||
// load sounds
|
||||
|
|
Loading…
Reference in a new issue