X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameInitDispose.cpp;h=a2f93b98502158c19c4f536631f8192c48d22f9e;hb=6f3fa5a970fa12cf6529c56a1f859b2668a8a232;hp=da5516cb1abf2352a270386ba6660681a3770025;hpb=f4685cb5e78e8e8056448d1de1bb75edb9a4fb1b;p=lugaru.git diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp index da5516c..a2f93b9 100644 --- a/Source/GameInitDispose.cpp +++ b/Source/GameInitDispose.cpp @@ -51,9 +51,6 @@ extern bool ismotionblur; extern bool trilinear; extern bool osx; extern bool musictoggle; -extern Weapons weapons; -extern Person player[maxplayers]; -extern int numplayers; extern int environment; extern bool ambientsound; extern float multiplier; @@ -1263,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;