]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.cpp
Drop Open_Stream
[lugaru.git] / Source / Game.cpp
index a64803fe605e762101920485f6adcb21eafd69e5..d68ee1154e7320edde2216daa4e90067d06f0871 100644 (file)
@@ -220,12 +220,10 @@ typedef struct {
 void Game::fireSound(int sound) {
        float gLoc[3]={0,0,0};
        float vel[3]={0,0,0};
-       OPENAL_Sample_SetMinMaxDistance(samp[sound], 9999.0f, 99999.0f);
        PlaySoundEx( sound, samp[sound], NULL, true);
        OPENAL_3D_SetAttributes(channels[sound], gLoc, vel);
        OPENAL_SetVolume(channels[sound], 256);
        OPENAL_SetPaused(channels[sound], false);
-       OPENAL_Sample_SetMinMaxDistance(samp[sound], 8.0f, 2000.0f);
 }
 
 void Game::inputText(char* str, int* charselected, int* nb_chars) {