X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=a5620a017b0852734cf7f4998af10fabf0c098a9;hb=8afc6199767a6fcb7451efd2b3d5b070f6c99efb;hp=4fc13171be985a7b7d2724a7411909d99f424562;hpb=2fc3381a6d44fe617388ac019170910e337bb07e;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 4fc13171..a5620a01 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_FILES]; #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_FILES]; int i, j; #if 0 @@ -518,22 +518,21 @@ void InitGameSound() for (j=0; j