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 | 862faa16c0b075b0f2ba765a7a2eee86d34c62f0 (patch) | |
tree | eb31a0e1319ad55d81da9fbc8b18b65c817c6f58 | |
parent | 6519d3bc97ec4eded4ff415c158856b77f139ee1 (diff) | |
download | openttd-862faa16c0b075b0f2ba765a7a2eee86d34c62f0.tar.xz |
(svn r1919) -Fix: Minimum profit of vehicles was calculated wrong for Performance Rating
-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) { |