From 862faa16c0b075b0f2ba765a7a2eee86d34c62f0 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 1 Mar 2005 19:32:55 +0000 Subject: (svn r1919) -Fix: Minimum profit of vehicles was calculated wrong for Performance Rating --- economy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/economy.c b/economy.c index 3e5476d8e..62b63e24a 100644 --- a/economy.c +++ b/economy.c @@ -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) { -- cgit v1.2.3-70-g09d2