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/player_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/player_gui.cpp')
-rw-r--r-- | src/player_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp index 2f307570d..a56d05c78 100644 --- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -31,8 +31,8 @@ static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_sti static void DrawPlayerEconomyStats(const Player *p, byte mode) { int x, y, i, j, year; - const int64 (*tbl)[13]; - int64 sum, cost; + const Money (*tbl)[13]; + Money sum, cost; StringID str; if (!(mode & 1)) { // normal sized economics window (mode&1) is minimized status |