summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-13 20:38:36 +0000
committerdarkvater <darkvater@openttd.org>2004-09-13 20:38:36 +0000
commitfc9a450e758067385129eddf3001efee9e562518 (patch)
treefbd94462b721e747cd83ba19d0dbf192ffd81440 /economy.c
parentadd49120dde81d212df460679bec15cbdd04a6a3 (diff)
downloadopenttd-fc9a450e758067385129eddf3001efee9e562518.tar.xz
(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.
Diffstat (limited to 'economy.c')
-rw-r--r--economy.c2
1 files changed, 1 insertions, 1 deletions
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;
}