(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()

This commit is contained in:
smatz
2008-04-17 00:44:20 +00:00
parent 1367c90161
commit 9488db56d4
20 changed files with 70 additions and 65 deletions

View File

@@ -2268,7 +2268,7 @@ static VehicleEnterTileStatus VehicleEnter_Track(Vehicle *v, TileIndex tile, int
int length;
/* this routine applies only to trains in depot tiles */
if (v->type != VEH_TRAIN || !IsTileDepotType(tile, TRANSPORT_RAIL)) return VETSB_CONTINUE;
if (v->type != VEH_TRAIN || !IsDepotTypeTile(tile, TRANSPORT_RAIL)) return VETSB_CONTINUE;
/* depot direction */
dir = GetRailDepotDirection(tile);