diff options
author | rubidium <rubidium@openttd.org> | 2009-01-10 09:51:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-10 09:51:14 +0000 |
commit | 3d6c09b38d54da55ba7688fab8acb5879a34c861 (patch) | |
tree | c150281da19ec8c75bcae7d7526de3017ee154db /src/vehicle_func.h | |
parent | ece7d9a16f66102aa2b384c45c13dc2a31cce7f8 (diff) | |
download | openttd-3d6c09b38d54da55ba7688fab8acb5879a34c861.tar.xz |
(svn r14952) -Codechange: unify the "can vehicle go to station" tests
Diffstat (limited to 'src/vehicle_func.h')
-rw-r--r-- | src/vehicle_func.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vehicle_func.h b/src/vehicle_func.h index 616ccee54..c9cc6a141 100644 --- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -171,4 +171,7 @@ extern const Vehicle *_place_clicked_vehicle; extern VehicleID _new_vehicle_id; extern uint16 _returned_refit_capacity; +bool CanVehicleUseStation(EngineID engine_type, const struct Station *st); +bool CanVehicleUseStation(const Vehicle *v, const struct Station *st); + #endif /* VEHICLE_FUNC_H */ |