X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=5ac7b6c26671c308aef53253258d229792d52e5b;hb=1f877ca17e3eee9b2ea66fe2d7378be88fec3501;hp=4fc13171be985a7b7d2724a7411909d99f424562;hpb=2fc3381a6d44fe617388ac019170910e337bb07e;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 4fc13171..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_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