removed door sound when opening/closing envelope request dialog
authorHolger Schemel <info@artsoft.org>
Tue, 5 Jan 2016 20:35:43 +0000 (21:35 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 5 Jan 2016 20:35:43 +0000 (21:35 +0100)
src/tools.c

index 78f76fd8ce8f577f9ffdbc921a7964e24f7592da..4d8222e023cf196310b65e0a25d3fba33b84814c 100644 (file)
@@ -2391,13 +2391,6 @@ void AnimateEnvelopeRequest(int anim_mode, int action)
     ystart = yend;
     end = 0;
   }
-  else
-  {
-    if (action == ACTION_OPENING)
-      PlayMenuSoundStereo(SND_DOOR_OPENING, SOUND_MIDDLE);
-    else if (action == ACTION_CLOSING)
-      PlayMenuSoundStereo(SND_DOOR_CLOSING, SOUND_MIDDLE);
-  }
 
   for (i = start; i <= end; i++)
   {