X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameInitDispose.cpp;h=a2f93b98502158c19c4f536631f8192c48d22f9e;hb=6f3fa5a970fa12cf6529c56a1f859b2668a8a232;hp=ed1edac3ce8320c059b334963de618eae55734af;hpb=d5ff767196019eeb0001f921365bb1e4060eee5b;p=lugaru.git diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp index ed1edac..a2f93b9 100644 --- a/Source/GameInitDispose.cpp +++ b/Source/GameInitDispose.cpp @@ -1260,12 +1260,7 @@ void Game::LoadStuff() } if(targetlevel!=7){ - float gLoc[3]={0,0,0}; - float vel[3]={0,0,0}; - PlaySoundEx( fireendsound, samp[fireendsound], NULL, true); - OPENAL_3D_SetAttributes(channels[fireendsound], gLoc, vel); - OPENAL_SetVolume(channels[fireendsound], 256); - OPENAL_SetPaused(channels[fireendsound], false); + emit_sound_at(fireendsound); } stillloading=0;