summaryrefslogtreecommitdiff
path: root/src/subsidy_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/subsidy_base.h')
-rw-r--r--src/subsidy_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subsidy_base.h b/src/subsidy_base.h
index adb03f83b..790be8c6d 100644
--- a/src/subsidy_base.h
+++ b/src/subsidy_base.h
@@ -7,6 +7,7 @@
#include "cargo_type.h"
#include "company_type.h"
+#include "station_type.h"
typedef uint16 SubsidyID; ///< ID of a subsidy
@@ -26,6 +27,8 @@ struct Subsidy {
return this->age >= 12;
}
+ void AwardTo(StationID from, StationID to, CompanyID company);
+
/**
* Determines index of this subsidy
* @return index (in the Subsidy::array array)