Torp collisions from smaller torpedoes were not heard often enough
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 1 Jul 2014 11:12:04 +0000 (11:12 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 1 Jul 2014 11:12:04 +0000 (11:12 +0000)
mmsoftware/mystic_ships/client/src/main.c

index b4ba80e..8ed72f4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.12 2014/07/01 10:50:49 mmondor Exp $ */
+/* $Id: main.c,v 1.13 2014/07/01 11:12:04 mmondor Exp $ */
 
 /*
  * Copyright (c) 2006, Matthew Mondor
@@ -712,7 +712,7 @@ collision_draw(int x, int y, int r)
        filledCircleRGBA(screen_surface, x, y, r,
            torp_colors[c][0], torp_colors[c][1], torp_colors[c][2],
            0xa0 + (rand() % 0xa0));
-       if (r > 10)
+       if (r > 6)
                (void) Mix_PlayChannel(-1, (r >= 20 ? snd_explode : snd_hit),
                    0);
 }