equal
deleted
inserted
replaced
79 ty = y2; |
79 ty = y2; |
80 else |
80 else |
81 ty = y3; |
81 ty = y3; |
82 |
82 |
83 // return the tile of our target coordinates |
83 // return the tile of our target coordinates |
84 return TILE_XY(tx,ty); |
84 return TileXY(tx, ty); |
85 }; |
85 }; |
86 |
86 |
87 /* Calcs the heuristic to the target station or tile. For train stations, it |
87 /* Calcs the heuristic to the target station or tile. For train stations, it |
88 * takes into account the direction of approach. |
88 * takes into account the direction of approach. |
89 */ |
89 */ |