X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=203d4093d6632e9182fae2af9042c8c2ff26e9ae;hb=69eca5c908598155bf3f5d1fa74e73ff9e2bbbc9;hp=b65b671974df1b807c771c082078272a5fa6415a;hpb=ef8c5a2593702e86fb1566cfc25dda5f35df2ea0;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index b65b6719..203d4093 100644 --- a/src/init.c +++ b/src/init.c @@ -982,10 +982,78 @@ static void InitGraphicInfo() static void InitSoundInfo() { + int sound_effect_properties[NUM_SOUND_FILES]; + int i, j; + sound_files = getCurrentSoundList(); - /* initialize sound effect lookup table for element actions */ - InitGameSound(); + /* initialize sound effect for all elements to "no sound" */ + for (i=0; i