summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-21 17:25:17 +0000
committerrubidium <rubidium@openttd.org>2007-06-21 17:25:17 +0000
commit9c0944aa09b1d36a60d81c41088a906064086bfb (patch)
tree9b6fd14e50d7ab0c8fb901cfad2e00092a6b0470 /src/town_gui.cpp
parentc5225992c168b3546d37f5309b668d9fe5f4af1d (diff)
downloadopenttd-9c0944aa09b1d36a60d81c41088a906064086bfb.tar.xz
(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.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}