(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.

This commit is contained in:
rubidium
2007-06-21 14:32:27 +00:00
parent c755fa43d0
commit 0d8e82b7d7
25 changed files with 94 additions and 82 deletions

View File

@@ -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