diff options
author | truelight <truelight@openttd.org> | 2005-03-01 19:32:55 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-03-01 19:32:55 +0000 |
commit | 120f9b2ba1d196ca8f89a0275a87d808f039f29e (patch) | |
tree | eb31a0e1319ad55d81da9fbc8b18b65c817c6f58 /economy.c | |
parent | 71de43f4db47ca67c72d21684a5affde19e6685f (diff) | |
download | openttd-120f9b2ba1d196ca8f89a0275a87d808f039f29e.tar.xz |
(svn r1919) -Fix: Minimum profit of vehicles was calculated wrong for Performance Rating
Diffstat (limited to 'economy.c')
-rw-r--r-- | economy.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ int UpdateCompanyRatingAndValue(Player *p, bool update) /* Count vehicles */ { Vehicle *v; - int32 min_profit = 0; + int32 min_profit = score_info[SCORE_MIN_PROFIT].needed; uint num = 0; FOR_ALL_VEHICLES(v) { |