(svn r9887) -Fix (r9867): Industry production statistics messed up...
authorpeter1138
Sun, 20 May 2007 05:53:19 +0000
changeset 6656 17d684b981bf
parent 6655 3d46f5ba9b6e
child 6657 75f1dccae0dd
(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;