Apply the same bugfix as r4947 to XA sounds so that they only loop when intended.

git-svn-id: https://svn.eduke32.com/eduke32@5891 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-10-14 07:40:35 +00:00
parent 5381e729f8
commit 9ce6cd2009

View file

@ -419,7 +419,7 @@ int32_t MV_PlayXA3D
right = MV_PanTable[ angle ][ volume ].right; right = MV_PanTable[ angle ][ volume ].right;
mid = max( 0, 255 - distance ); mid = max( 0, 255 - distance );
status = MV_PlayXA(ptr, ptrlength, pitchoffset, loophow, -1, mid, left, right, priority, callbackval); status = MV_PlayXA(ptr, ptrlength, loophow, -1, pitchoffset, mid, left, right, priority, callbackval);
return status; return status;
} }