(svn r9887) -Fix (r9867): Industry production statistics messed up...
authorpeter1138
Sun, 20 May 2007 05:53:19 +0000
changeset 7152 cba0314cb5e6
parent 7151 d811c3f808bd
child 7153 85b73fcc076b
(svn r9887) -Fix (r9867): Industry production statistics messed up...
src/industry_cmd.cpp
--- a/src/industry_cmd.cpp	Sun May 20 00:50:06 2007 +0000
+++ b/src/industry_cmd.cpp	Sun May 20 05:53:19 2007 +0000
@@ -1649,8 +1649,8 @@
 			}
 			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;