From 44fc08391d5505ba991f5359eab469be24c5e500 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 20 May 2007 05:53:19 +0000 Subject: (svn r9887) -Fix (r9867): Industry production statistics messed up... --- src/industry_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 6b938bed8..58c9ba9c7 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; -- cgit v1.2.3-70-g09d2