From d181432d32981169038a8561be9afea6a8812257 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 14 Apr 2016 19:26:02 +0200 Subject: [PATCH] fixed bug with (soundless) classic toons playing wrong default sound --- src/cartoons.c | 2 ++ 1 file changed, 2 insertions(+) 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]; -- 2.34.1