From 9c0944aa09b1d36a60d81c41088a906064086bfb Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 21 Jun 2007 17:25:17 +0000 Subject: (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong. --- src/town_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town_gui.cpp') diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 8cb690c6b..bb46c0c17 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -175,7 +175,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e) int i = WP(w,def_d).data_1; if (i != -1) { - SetDParamMoney(1, (_price.build_industry >> 8) * _town_action_costs[i]); + SetDParam(1, (_price.build_industry >> 8) * _town_action_costs[i]); SetDParam(0, STR_2046_SMALL_ADVERTISING_CAMPAIGN + i); DrawStringMultiLine(2, 159, STR_204D_INITIATE_A_SMALL_LOCAL + i, 313); } -- cgit v1.2.3-54-g00ecf