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 | a5a811f7677ad474d4630d074172872814ae935e (patch) | |
tree | fc4ab91ccd06fa35702fae36f1c3719fed8297a5 | |
parent | 15d188d7f83e3d090ccd8f24807d55dd4dc56946 (diff) | |
download | openttd-a5a811f7677ad474d4630d074172872814ae935e.tar.xz |
(svn r1285) -Fix: your loan is now substracted from your company value
-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; } |