src/rail_cmd.cpp
changeset 7486 d130c10f4dab
parent 7446 1c4d469f986e
child 7539 eea0981e7f1a
equal deleted inserted replaced
7485:68e3df6c477e 7486:d130c10f4dab
   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);