diff options
author | peter1138 <peter1138@openttd.org> | 2007-05-20 05:53:19 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-05-20 05:53:19 +0000 |
commit | 44fc08391d5505ba991f5359eab469be24c5e500 (patch) | |
tree | 378081b2792f257e674ff208213740581ccf7f90 /src | |
parent | 88042df6bbb5f21f1a325f2d8b3a5dee775299e2 (diff) | |
download | openttd-44fc08391d5505ba991f5359eab469be24c5e500.tar.xz |
(svn r9887) -Fix (r9867): Industry production statistics messed up...
Diffstat (limited to 'src')
-rw-r--r-- | src/industry_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |