summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index 317d93c2d..eaebf04bc 100644
--- a/src/train.h
+++ b/src/train.h
@@ -246,6 +246,8 @@ struct Train : public Vehicle {
const char *GetTypeString() { return "train"; }
void MarkDirty();
void UpdateDeltaXY(Direction direction);
+ ExpensesType GetExpenseType(bool income) { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; }
+ WindowClass GetVehicleListWindowClass() { return WC_TRAINS_LIST; }
};
#endif /* TRAIN_H */