diff options
author | truelight <truelight@openttd.org> | 2004-12-28 09:55:55 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-28 09:55:55 +0000 |
commit | 41201f488c6eb3d4862f49f419ccd9915c46c162 (patch) | |
tree | fb16b85976744d845bdc550a8177ab03f1a4430b | |
parent | c5317396028d8ed03e1bc34d89d1bdd9ae31c04c (diff) | |
download | openttd-41201f488c6eb3d4862f49f419ccd9915c46c162.tar.xz |
(svn r1287) -Fix: reversed 1285, because it is not the solution. This also means
that getting a lot of money with shares is back... :(
-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 > p->current_loan) - value += p->money64 - p->current_loan; // add real money value + if (p->player_money > 0) + value += p->money64; // add real money value return value; } |