Duke3D: setactorsoundpitch doesn't work properly anymore
In older revisions (such as r6775), you could execute the following CON code, and it would directly alter the pitch of the sound to be played:
onevent ALT_FIRE sound C4_BEEP setactorsoundpitch THISACTOR C4_BEEP -256 endevent
This no longer works. Instead, the sound now always plays at the original pitch, and the change the command is supposed to make is ignored.
Most likely this was broken by commit 95466d90, but this is difficult to verify as this commit also causes
setactorsoundpitch to freeze the game. After fixing the freeze, the command no longer works.
Here's a test zip to debug the issue: c4beep.zip