Add a new method Station::CanHandleCargo
commit65146101db4099336676e0403adb9a244b6cf60e
authorcirdan <cirdansw@gmail.com>
Wed, 26 Mar 2014 18:07:44 +0000 (26 19:07 +0100)
committercirdan <cirdansw@gmail.com>
Wed, 26 Mar 2014 18:07:44 +0000 (26 19:07 +0100)
treed723bbda46adb77748742f5e0830d9aabdd5b301
parentd3236af8ee9e6873b65550203a1d44da1d948be3
Add a new method Station::CanHandleCargo

Add a new method Station::CanHandleCargo to check if a station
can handle a given cargo type (for passenger-only or freight-only
road stops) and use it in two places.
src/station_base.h
src/station_cmd.cpp