summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--economy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/economy.c b/economy.c
index 4e6206317..8a131155c 100644
--- a/economy.c
+++ b/economy.c
@@ -108,7 +108,7 @@ int64 CalculateCompanyValue(Player *p) {
value += p->money64 - p->current_loan; // add real money value
- return max(value, 1);
+ return max64(value, 1);
}
// if update is set to true, the economy is updated with this score