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 | f806b46cc967202db3d2fbf3384d0f037c13ed8a (patch) | |
tree | 4d9bfa9de886f7ff167c4fa02326f5cd302e8cce /src/player_gui.cpp | |
parent | 06fded123a346d556ceb2f4585429046ddf8f1b9 (diff) | |
download | openttd-f806b46cc967202db3d2fbf3384d0f037c13ed8a.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 |