Remove RoadVehicle::GetPos
commit14cf47661c6acaf1f1362b5950b3d9d2ffa8866a
authorcirdan <cirdansw@gmail.com>
Wed, 12 Mar 2014 18:19:09 +0000 (12 19:19 +0100)
committercirdan <cirdansw@gmail.com>
Wed, 12 Mar 2014 18:19:09 +0000 (12 19:19 +0100)
tree881079351cc076a31cc0e3cd2ab6a77d77e331ac
parentc74470b3569ce4525d2effe47bfb4bd90919a892
Remove RoadVehicle::GetPos

Inline RoadVehicle::GetPos into its only user left, which is YAPF
FindNearestDepot, and tweak the code so that road vehicles on a
bridge will consider turning at the bridgehead if possible.
src/pathfinder/yapf/yapf_road.cpp
src/roadveh.h
src/roadveh_cmd.cpp