X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=f64d25931c19c3860f4e13126d5532ccefb0703a;hb=28f0f8708f4b4f8c4f39f1b23bc5fc7e0fed7579;hp=bc31c194de0672b1a07164c40710502c6d7562ca;hpb=463778af29aada177d4a00c566653b92be3b507a;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index bc31c194..f64d2593 100644 --- a/src/game.c +++ b/src/game.c @@ -153,7 +153,7 @@ static struct { NULL, 0, 0 }, }; static int element_action_sound[NUM_LEVEL_ELEMENTS][NUM_SND_ACTIONS]; -static boolean is_loop_sound[NUM_SOUND_EFFECTS]; +static boolean is_loop_sound[NUM_SOUND_CONFIG_ENTRIES]; #define IS_LOOP_SOUND(x) (is_loop_sound[x]) @@ -507,7 +507,7 @@ void DrawGameDoorValues() void InitGameSound() { - int sound_effect_properties[NUM_SOUND_EFFECTS]; + int sound_effect_properties[NUM_SOUND_CONFIG_ENTRIES]; int i, j; #if 0 @@ -518,9 +518,9 @@ void InitGameSound() for (j=0; j