shithub: rott

Download patch

ref: a38afee9b25a7178a1dbaaa5537c5030a20f0eac
parent: 75a39b80edf0952444c3eeb75d29d72823fbf579
author: LTCHIPS <ltchips994@gmail.com>
date: Thu Jun 7 14:23:34 EDT 2018

added FX_SetPitch call that was previously missing

--- a/rott/rt_sound.c
+++ b/rott/rt_sound.c
@@ -516,11 +516,12 @@
 
 void SD_SetSoundPitch ( int sndnum, int pitch )
 {
-    int status;
 
     if (SD_Started==false)
         return;
 
+    FX_SetPitch( sndnum, pitch );
+    
     if (!FX_SoundActive(sndnum))
         return;
 }