From: Holger Schemel Date: Thu, 14 Apr 2016 17:26:02 +0000 (+0200) Subject: fixed bug with (soundless) classic toons playing wrong default sound X-Git-Tag: 4.0.0.0-rc1~3 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=d181432d32981169038a8561be9afea6a8812257;p=rocksndiamonds.git fixed bug with (soundless) classic toons playing wrong default sound --- diff --git a/src/cartoons.c b/src/cartoons.c index 2e074364..e90b2e58 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -306,12 +306,14 @@ static void InitToonControls() for (i = 0; i < num_toons; i++) { struct GlobalAnimPartControlInfo *part = &anim->part[part_nr]; + int sound = SND_UNDEFINED; int graphic = IMG_TOON_1 + i; int control = graphic; part->nr = part_nr; part->anim_nr = anim_nr; part->mode_nr = mode_nr; + part->sound = sound; part->graphic = graphic; part->graphic_info = graphic_info[graphic]; part->control_info = graphic_info[control];