--- a/hedgewars/uSound.pas Fri Oct 16 18:37:55 2009 +0000
+++ b/hedgewars/uSound.pas Fri Oct 16 18:56:08 2009 +0000
@@ -195,7 +195,7 @@
WriteLnToConsole(msgOK);
oalb_playsound(Mus, 1);
-oalb_fadein(Mus, 50);
+oalb_fadein(Mus, 20);
end;
function ChangeVolume(voldelta: LongInt): LongInt;
--- a/openalbridge/openalbridge.c Fri Oct 16 18:37:55 2009 +0000
+++ b/openalbridge/openalbridge.c Fri Oct 16 18:56:08 2009 +0000
@@ -389,7 +389,7 @@
}
fade = (fade_t*) Malloc(sizeof(fade_t));
- fade->index = iIndex;
+ fade->index = theSounds[iIndex].sourceIndex;
fade->quantity = quantity;
if(iIndex < 0 || iIndex >= iNumSounds) {