summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-04 09:26:39 +0000
committertron <tron@openttd.org>2004-12-04 09:26:39 +0000
commite56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0 (patch)
treec64a0b16a280a9b4e7a310e747e96bca0821aa0e /players.c
parentd036559e0ed75f6357e129f2d78808240519fc78 (diff)
downloadopenttd-e56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0.tar.xz
(svn r925) Use sound enums
Also play the correct sound when a toyland road vehicle breaks down
Diffstat (limited to 'players.c')
-rw-r--r--players.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/players.c b/players.c
index 2f0c193f1..4cfd5522c 100644
--- a/players.c
+++ b/players.c
@@ -592,9 +592,9 @@ void PlayersYearlyLoop()
ShowPlayerFinances(_local_player);
p = DEREF_PLAYER(_local_player);
if (p->num_valid_stat_ent > 5 && p->old_economy[0].performance_history < p->old_economy[4].performance_history) {
- SndPlayFx(0x28);
+ SndPlayFx(SND_01_BAD_YEAR);
} else {
- SndPlayFx(0x27);
+ SndPlayFx(SND_00_GOOD_YEAR);
}
}
}