Mercurial > hg > openttd
changeset 6656:38b04d6bafcf draft
(svn r9887) -Fix (r9867): Industry production statistics messed up...
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Sun, 20 May 2007 05:53:19 +0000 |
parents | 02c37d001ece |
children | 05dc53b3e64a |
files | src/industry_cmd.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -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;