The Dink Network

Reply to Re: playsound - 3D variable not working?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 25th, 10:05 PM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
Excuse me gentlemen but what the hell am I reading? sp_sound is defined in the source across all engines as an alias for:

playsound(sound, 22050, 0, sprite, 1)


You can try this yourself with a savebot. Remove the sp_sound line in the stock savebot script and replace it with:

playsound(34, 22050, 0, &current_sprite, 1)


And it should produce the hum that we're all accustomed to in the exact same way. Any divergence from this behaviour is an engine bug, or should be, as the invocation is the same.