projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe0b7e
)
fixed bug with (soundless) classic toons playing wrong default sound
author
Holger Schemel
<info@artsoft.org>
Thu, 14 Apr 2016 17:26:02 +0000
(19:26 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 14 Apr 2016 17:26:02 +0000
(19:26 +0200)
src/cartoons.c
patch
|
blob
|
history
diff --git
a/src/cartoons.c
b/src/cartoons.c
index 2e0743646589c34105146d28404cc9c217b415c8..e90b2e58f9228644446b08233649f91a75c2a8fb 100644
(file)
--- 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];