diff options
author | tron <tron@openttd.org> | 2004-12-04 09:26:39 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-12-04 09:26:39 +0000 |
commit | 291d25a88bfcc8fa5e10b383ceaf03c446e032f5 (patch) | |
tree | c64a0b16a280a9b4e7a310e747e96bca0821aa0e /tree_cmd.c | |
parent | b88fc15e4744dd7bcba649ac399f1f07fbcab769 (diff) | |
download | openttd-291d25a88bfcc8fa5e10b383ceaf03c446e032f5.tar.xz |
(svn r925) Use sound enums
Also play the correct sound when a toyland road vehicle breaks down
Diffstat (limited to 'tree_cmd.c')
-rw-r--r-- | tree_cmd.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tree_cmd.c b/tree_cmd.c index ed7946691..64590fa69 100644 --- a/tree_cmd.c +++ b/tree_cmd.c @@ -382,8 +382,11 @@ static void AnimateTile_Trees(uint tile) /* not used */ } -static byte _desert_sounds[] = { - 66,67,68,72 +static SoundFx _desert_sounds[] = { + SND_42_LOON_BIRD, + SND_43_LION, + SND_44_MONKEYS, + SND_48_DISTANT_BIRD }; static void TileLoopTreesDesert(uint tile) @@ -440,7 +443,7 @@ static void TileLoopTreesAlps(uint tile) if (tmp == 0xC0) { uint32 r; if (CHANCE16I(1,200,r=Random())) { - SndPlayTileFx( (r&0x80000000) ? 57 : 52, tile); + SndPlayTileFx((r & 0x80000000) ? SND_39_HEAVY_WIND : SND_34_WIND, tile); } return; } else { |