(svn r14952) -Codechange: unify the "can vehicle go to station" tests

This commit is contained in:
rubidium
2009-01-10 09:51:14 +00:00
parent ece7d9a16f
commit 3d6c09b38d
6 changed files with 67 additions and 64 deletions

View File

@@ -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 */