X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=104aef40ac734df328fc5a9a4bb62af4400ba255;hb=aca666256c715771b11d3277e10ff971aea44af8;hp=be4422c67d1f580231e60ee05ad543311c49747e;hpb=8a0ac1d204ca31a92875d378138e3ec4889ef37c;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index be4422c6..104aef40 100644 --- a/src/init.c +++ b/src/init.c @@ -1192,9 +1192,12 @@ static void InitElementSoundInfo() if (IS_SB_ELEMENT(i) && element_info[EL_SB_DEFAULT].sound[act] != -1) default_action_sound = element_info[EL_SB_DEFAULT].sound[act]; + /* !!! there's no such thing as a "default action sound" !!! */ +#if 0 /* look for element specific default sound (independent from action) */ if (element_info[i].sound[ACTION_DEFAULT] != -1) default_action_sound = element_info[i].sound[ACTION_DEFAULT]; +#endif /* no sound for this specific action -- use default action sound */ if (element_info[i].sound[act] == -1)