src/rail_cmd.cpp
changeset 6990 136a08baf0ed
parent 6950 14ecb0acdfb4
child 7043 842b2bc47729
equal deleted inserted replaced
6989:1768ca0091cb 6990:136a08baf0ed
   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);