]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
Drop MinMaxDistance
[lugaru.git] / Source / GameInitDispose.cpp
index 02b0c93cf1124638a1cfb341bcb612991cb039ca..6c9cf0f7c86430e544cac7b2d7f8fb3624cdd54c 100644 (file)
@@ -1351,12 +1351,10 @@ void Game::LoadStuff()
        if(targetlevel!=7){
                float gLoc[3]={0,0,0};
                float vel[3]={0,0,0};
-               OPENAL_Sample_SetMinMaxDistance(samp[fireendsound], 9999.0f, 99999.0f);
                PlaySoundEx( fireendsound, samp[fireendsound], NULL, true);
                OPENAL_3D_SetAttributes(channels[fireendsound], gLoc, vel);
                OPENAL_SetVolume(channels[fireendsound], 256);
                OPENAL_SetPaused(channels[fireendsound], false);
-               OPENAL_Sample_SetMinMaxDistance(samp[fireendsound], 8.0f, 2000.0f);
        }
 
        stillloading=0;