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 | 0543f50181fcdaa5c4f1365c2dfefc65649175a9 (patch) | |
tree | c150281da19ec8c75bcae7d7526de3017ee154db /src/vehicle_func.h | |
parent | 5f53496e54f3080b1c1c1c000d47f914fb3e6f10 (diff) | |
download | openttd-0543f50181fcdaa5c4f1365c2dfefc65649175a9.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 */ |