author | tron |
Sat, 18 Mar 2006 11:38:43 +0000 | |
changeset 3254 | 4a9863a19922 |
parent 3253 | d09458273923 |
child 3255 | 6a34ee211cc7 |
rail_cmd.c | file | annotate | diff | comparison | revisions |
--- a/rail_cmd.c Sat Mar 18 09:06:07 2006 +0000 +++ b/rail_cmd.c Sat Mar 18 11:38:43 2006 +0000 @@ -1974,9 +1974,9 @@ m5 = _m[tile].m5; - if (GetRailType(tile) != RAIL_TYPE_DEPOT_WAYPOINT) { + if (GetRailTileType(tile) != RAIL_TYPE_DEPOT_WAYPOINT) { ret = (m5 | (m5 << 8)) & 0x3F3F; - if (GetRailType(tile) != RAIL_TYPE_SIGNALS) { + if (GetRailTileType(tile) != RAIL_TYPE_SIGNALS) { if ( (ret & 0xFF) == 3) /* Diagonal crossing? */ ret |= 0x40;