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 | e56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0 (patch) | |
tree | c64a0b16a280a9b4e7a310e747e96bca0821aa0e /tree_cmd.c | |
parent | d036559e0ed75f6357e129f2d78808240519fc78 (diff) | |
download | openttd-e56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0.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 { |