X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.c;h=5ac7b6c26671c308aef53253258d229792d52e5b;hp=f64d25931c19c3860f4e13126d5532ccefb0703a;hb=fffaec4e69e54c74cf5eea689191e81b8c19b85a;hpb=727c32da2353e1f688c4636b86a1ab6e8a71f8d6 diff --git a/src/game.c b/src/game.c index f64d2593..5ac7b6c2 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_CONFIG_ENTRIES]; +static boolean is_loop_sound[NUM_SOUND_FILES]; #define IS_LOOP_SOUND(x) (is_loop_sound[x]) @@ -507,7 +507,7 @@ void DrawGameDoorValues() void InitGameSound() { - int sound_effect_properties[NUM_SOUND_CONFIG_ENTRIES]; + int sound_effect_properties[NUM_SOUND_FILES]; int i, j; #if 0 @@ -518,22 +518,21 @@ void InitGameSound() for (j=0; j