From fc9a450e758067385129eddf3001efee9e562518 Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 13 Sep 2004 20:38:36 +0000 Subject: (svn r237) -Fix: [1025836] Company value problem (again). Now company value rightly shows the value, including ALL your money. -Fix: Graphs now accomodate 64bit numbers (so the company value graph doesn't plummet into -... if value is too big) -Strgen: added CURRCOMPACT64 for this, and 64bit versions of several macros. --- economy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'economy.c') diff --git a/economy.c b/economy.c index 578230688..cf23e65fd 100644 --- a/economy.c +++ b/economy.c @@ -75,7 +75,7 @@ int64 CalculateCompanyValue(Player *p) { } if (p->player_money > 0) - value += p->player_money; + value += p->money64; // add real money value return value; } -- cgit v1.2.3-54-g00ecf