summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-28 09:55:55 +0000
committertruelight <truelight@openttd.org>2004-12-28 09:55:55 +0000
commit41201f488c6eb3d4862f49f419ccd9915c46c162 (patch)
treefb16b85976744d845bdc550a8177ab03f1a4430b /economy.c
parentc5317396028d8ed03e1bc34d89d1bdd9ae31c04c (diff)
downloadopenttd-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... :(
Diffstat (limited to 'economy.c')
-rw-r--r--economy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/economy.c b/economy.c
index d5f1661c3..87bfcb551 100644
--- a/economy.c
+++ b/economy.c
@@ -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;
}