X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameInitDispose.cpp;h=a2f93b98502158c19c4f536631f8192c48d22f9e;hb=03e3d05a91e2a3aea407387d9531177b2ca31813;hp=ed1edac3ce8320c059b334963de618eae55734af;hpb=ac2329020de30416484a59f41e1156439d143b87;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;