changeset 2668 | 54d9f9d4dca3 |
parent 2625 | 66b3d632dcd2 |
child 2670 | 34970983ef08 |
--- a/waypoint.c Wed Nov 16 14:30:24 2005 +0000 +++ b/waypoint.c Wed Nov 16 14:41:01 2005 +0000 @@ -261,7 +261,7 @@ Waypoint *wp; /* Make sure it's a waypoint */ - if (!IsTileType(tile, MP_RAILWAY) || !IsRailWaypoint(_m[tile].m5)) + if (!IsTileType(tile, MP_RAILWAY) || !IsRailWaypoint(tile)) return CMD_ERROR; if (!CheckTileOwnership(tile) && !(_current_player == OWNER_WATER))