From f806b46cc967202db3d2fbf3384d0f037c13ed8a Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 21 Jun 2007 14:32:27 +0000 Subject: (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch. --- src/player_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/player_gui.cpp') 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 -- cgit v1.2.3-54-g00ecf