diff options
author | truelight <truelight@openttd.org> | 2004-12-28 09:29:40 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-28 09:29:40 +0000 |
commit | 968c9ffe609b66bd271bb67afd1a5280b3111f10 (patch) | |
tree | fc4ab91ccd06fa35702fae36f1c3719fed8297a5 /economy.c | |
parent | bb1ad030e3fc40c859bcde98246a11cd5038e42c (diff) | |
download | openttd-968c9ffe609b66bd271bb67afd1a5280b3111f10.tar.xz |
(svn r1285) -Fix: your loan is now substracted from your company value
Diffstat (limited to 'economy.c')
-rw-r--r-- | economy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,8 +105,8 @@ int64 CalculateCompanyValue(Player *p) { } } - if (p->player_money > 0) - value += p->money64; // add real money value + if (p->player_money > p->current_loan) + value += p->money64 - p->current_loan; // add real money value return value; } |