From 7a94e6eaaea563df1f356ee190eec105df7dbd6f Mon Sep 17 00:00:00 2001 From: Matthew Mondor Date: Tue, 1 Jul 2014 11:12:04 +0000 Subject: [PATCH] Torp collisions from smaller torpedoes were not heard often enough --- mmsoftware/mystic_ships/client/src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmsoftware/mystic_ships/client/src/main.c b/mmsoftware/mystic_ships/client/src/main.c index b4ba80e..8ed72f4 100644 --- a/mmsoftware/mystic_ships/client/src/main.c +++ b/mmsoftware/mystic_ships/client/src/main.c @@ -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); } -- 2.9.0