mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
This commit is contained in:
parent
209b0320d5
commit
21813fbe8b
@ -184,7 +184,7 @@ Money CalculateHostileTakeoverValue(const Company *c)
|
||||
}
|
||||
|
||||
for (int quarter = 0; quarter < 4; quarter++) {
|
||||
value += std::max<Money>(c->old_economy[quarter].income - c->old_economy[quarter].expenses, 0) * 2;
|
||||
value += std::max<Money>(c->old_economy[quarter].income + c->old_economy[quarter].expenses, 0) * 2;
|
||||
}
|
||||
|
||||
return std::max<Money>(value, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user