diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 14:32:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 14:32:27 +0000 |
commit | 0d8e82b7d742b54216bf6bc8a1d3b4eafe8124ab (patch) | |
tree | 4d9bfa9de886f7ff167c4fa02326f5cd302e8cce /src/town_gui.cpp | |
parent | c755fa43d08e5adaad87745769369ec8e5e59915 (diff) | |
download | openttd-0d8e82b7d742b54216bf6bc8a1d3b4eafe8124ab.tar.xz |
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 565a7ecec..bb46c0c17 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -41,7 +41,7 @@ extern const byte _town_action_costs[8]; */ uint GetMaskOfTownActions(int *nump, PlayerID pid, const Town *t) { - int32 avail, ref; + Money avail, ref; int num = 0; uint avail_buttons = 0x7F; // by default all buttons except bribe are enabled. uint buttons = 0; |