summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/players.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/players.cpp b/src/players.cpp
index 493a9877a..f886e287a 100644
--- a/src/players.cpp
+++ b/src/players.cpp
@@ -204,14 +204,14 @@ static void SubtractMoneyFromAnyPlayer(Player *p, CommandCost cost)
1 << EXPENSES_ROADVEH_INC |
1 << EXPENSES_AIRCRAFT_INC |
1 << EXPENSES_SHIP_INC, cost.GetExpensesType())) {
- p->cur_economy.income += cost.GetCost();
+ p->cur_economy.income -= cost.GetCost();
} else if (HasBit(1 << EXPENSES_TRAIN_RUN |
1 << EXPENSES_ROADVEH_RUN |
1 << EXPENSES_AIRCRAFT_RUN |
1 << EXPENSES_SHIP_RUN |
1 << EXPENSES_PROPERTY |
1 << EXPENSES_LOAN_INT, cost.GetExpensesType())) {
- p->cur_economy.expenses += cost.GetCost();
+ p->cur_economy.expenses -= cost.GetCost();
}
InvalidatePlayerWindows(p);