From 72972a171272461e1609e2db7959943c1208c467 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 20 May 2007 05:53:19 +0000 Subject: [PATCH] (svn r9887) -Fix (r9867): Industry production statistics messed up... --- src/industry_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 6b938bed87..58c9ba9c7c 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1649,8 +1649,8 @@ static void UpdateIndustryStatistics(Industry *i) } i->pct_transported[j] = pct; - i->total_production[0] = i->last_mo_production[0]; - i->last_mo_production[0] = 0; + i->total_production[j] = i->last_mo_production[j]; + i->last_mo_production[j] = 0; i->total_transported[j] = i->last_mo_transported[j]; i->last_mo_transported[j] = 0;