(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
This commit is contained in:
@@ -43,7 +43,7 @@ public:
|
||||
/// Called by YAPF to detect if node ends in the desired destination
|
||||
FORCEINLINE bool PfDetectDestination(TileIndex tile, Trackdir td)
|
||||
{
|
||||
bool bDest = IsDepotTypeTile(tile, TRANSPORT_RAIL);
|
||||
bool bDest = IsRailDepotTile(tile);
|
||||
return bDest;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user