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
commit291d25a88bfcc8fa5e10b383ceaf03c446e032f5 (patch)
treec64a0b16a280a9b4e7a310e747e96bca0821aa0e /players.c
parentb88fc15e4744dd7bcba649ac399f1f07fbcab769 (diff)
downloadopenttd-291d25a88bfcc8fa5e10b383ceaf03c446e032f5.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);
}
}
}