diff options
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 402fc9cec..452ee746e 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -85,7 +85,7 @@ int64 CalculateCompanyValue(const Player* p) value += p->money64 - p->current_loan; // add real money value - return max64(value, 1); + return max(value, 1LL); } // if update is set to true, the economy is updated with this score |