Initialize volume to inaudiable at startup.

This commit is contained in:
ehofman
2004-12-16 13:15:13 +00:00
parent 98b2ba4fc1
commit e12cd2a50c

View File

@@ -97,6 +97,7 @@ SGSoundMgr::SGSoundMgr() {
listener_ori[4] = 1.0;
listener_ori[5] = 0.0;
alListenerf( AL_GAIN, 0.0f );
alListenerfv( AL_POSITION, listener_pos );
alListenerfv( AL_VELOCITY, listener_vel );
alListenerfv( AL_ORIENTATION, listener_ori );