Remove GetTileRailType
commit06babecf360b988733158c15fbd1996f5cc876eb
authorcirdan <cirdansw@gmail.com>
Sun, 16 Feb 2014 20:11:44 +0000 (16 21:11 +0100)
committercirdan <cirdansw@gmail.com>
Sun, 16 Feb 2014 20:11:44 +0000 (16 21:11 +0100)
treead705a237066a9be32e75caef09e4d98a5133479
parentc0b2fd4004159268e59e8fe6b579122303f5f299
Remove GetTileRailType

GetTileRailType was only used in two places, and both of them can
use GetRailType directly, because they know that there is railway
where they need it.
src/map/rail.h
src/pathfinder/yapf/yapf_rail.cpp