equal
deleted
inserted
replaced
972 * @param p2 new railtype to convert to |
972 * @param p2 new railtype to convert to |
973 */ |
973 */ |
974 CommandCost CmdConvertRail(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) |
974 CommandCost CmdConvertRail(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) |
975 { |
975 { |
976 CommandCost ret, cost; |
976 CommandCost ret, cost; |
977 int32 money; |
977 Money money; |
978 int ex; |
978 int ex; |
979 int ey; |
979 int ey; |
980 int sx, sy, x, y; |
980 int sx, sy, x, y; |
981 |
981 |
982 SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION); |
982 SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION); |