summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ship.h b/src/ship.h
index e277f91c4..0d4e324ae 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -42,6 +42,8 @@ struct Ship: public Vehicle {
const char *GetTypeString() { return "ship"; }
void MarkDirty();
void UpdateDeltaXY(Direction direction);
+ ExpensesType GetExpenseType(bool income) { return income ? EXPENSES_SHIP_INC : EXPENSES_SHIP_RUN; }
+ WindowClass GetVehicleListWindowClass() { return WC_SHIPS_LIST; }
};
#endif /* SHIP_H */