changeset 2501 | 51ebab1b446d |
parent 2496 | 8ea93b0d49ee |
child 2529 | 51e5df1c8462 |
--- 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) {