Extract reserved waypoint check into its own function
commitee514db2c32d5f34a371e34e6322841abe6487a5
authorcirdan <cirdansw@gmail.com>
Sun, 28 May 2017 14:42:09 +0000 (28 16:42 +0200)
committercirdan <cirdansw@gmail.com>
Sun, 28 May 2017 14:42:09 +0000 (28 16:42 +0200)
tree26802c44100c82445c95c0975997ddb254c8c1a8
parent7d693199327e10a2715a66737b9f479b054831c5
Extract reserved waypoint check into its own function

Extract the special check following a reserved waypoint out
of CYapfRailOrderT::AddTargetCost into its own function
CheckReservedWaypoint. There is no change in behaviour, just
moving code out of a large function.
src/pathfinder/yapf/yapf_rail.cpp