From 2fa79c9b4d140f78e5e6392aded7beebeec5c230 Mon Sep 17 00:00:00 2001 From: ludde Date: Fri, 15 Jul 2005 14:53:44 +0000 Subject: (svn r2572) - Codechange: [string] Changed string system so it's not as dependent on decode_parameters - Feature: [strgen] Allow changing the order of parameters in translated strings. - Use {1:TOWN} syntax to set the order. - Codechange: [strgen] Rewrote lots of strgen internals. --- industry_gui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'industry_gui.c') diff --git a/industry_gui.c b/industry_gui.c index 97137fdd9..4f8f25068 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -304,6 +304,7 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e) SetDParam(1, i->total_production[0]); SetDParam(0, _cargoc.names_long_s[i->produced_cargo[0]] + ((i->total_production[0]!=1)<<5)); + SetDParam(2, i->pct_transported[0] * 100 >> 8); DrawString(4 + (NEED_ALTERB ? 30 : 0), 127, STR_482B_TRANSPORTED, 0); // Let's put out those buttons.. -- cgit v1.2.3-70-g09d2