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 /players.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 'players.c')
-rw-r--r-- | players.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } } |