Loading

Paste #pvn1rcd5d

  1. diff --git a/src/economy_type.h b/src/economy_type.h
  2. index 7e7a572..27982a3 100644
  3. --- a/src/economy_type.h
  4. +++ b/src/economy_type.h
  5. @@ -111,6 +111,7 @@ enum Price {
  6.     PR_RUNNING_TRAIN_STEAM,
  7.     PR_RUNNING_TRAIN_DIESEL,
  8.     PR_RUNNING_TRAIN_ELECTRIC,
  9. +   PR_RUNNING_TRAIN_WAGON,
  10.     PR_RUNNING_AIRCRAFT,
  11.     PR_RUNNING_ROADVEH,
  12.     PR_RUNNING_SHIP,
  13. diff --git a/src/table/engines.h b/src/table/engines.h
  14. index aed1fc2..7ebf994 100644
  15. --- a/src/table/engines.h
  16. +++ b/src/table/engines.h
  17. @@ -395,7 +395,7 @@ static const EngineInfo _orig_engine_info[] = {
  18.  #define RC_S PR_RUNNING_TRAIN_STEAM
  19.  #define RC_D PR_RUNNING_TRAIN_DIESEL
  20.  #define RC_E PR_RUNNING_TRAIN_ELECTRIC
  21. -#define RC_W INVALID_PRICE
  22. +#define RC_W PR_RUNNING_TRAIN_WAGON
  23.  
  24.  static const RailVehicleInfo _orig_rail_vehicle_info[] = {
  25.     /*   image_index  max_speed          running_cost      engclass
  26. @@ -431,7 +431,7 @@ static const RailVehicleInfo _orig_rail_vehicle_info[] = {
  27.     RVI(20, G,  30, 176,    5000,  82,   205, RC_E,  0, C, E), //  24 SH '40' (Electric)
  28.     RVI(21, M,  40, 240,    7000,  90,   240, RC_E,  0, C, E), //  25 'T.I.M.' (Electric)
  29.     RVI(23, M,  43, 264,    8000,  95,   250, RC_E,  0, C, E), //  26 'AsiaStar' (Electric)
  30. -   RVI(33, W, 247,   0,       0,  25,     0, RC_W, 40, R, A), //  27 Passenger Carriage
  31. +   RVI(33, W, 247,   0,       0,  25,    25, RC_W, 40, R, A), //  27 Passenger Carriage
  32.     RVI(35, W, 228,   0,       0,  21,     0, RC_W, 30, R, A), //  28 Mail Van
  33.     RVI(34, W, 176,   0,       0,  18,     0, RC_W, 30, R, A), //  29 Coal Truck
  34.     RVI(36, W, 200,   0,       0,  24,     0, RC_W, 30, R, A), //  30 Oil Tanker
  35. diff --git a/src/table/pricebase.h b/src/table/pricebase.h
  36. index 9dc2ee2..d4344e4 100644
  37. --- a/src/table/pricebase.h
  38. +++ b/src/table/pricebase.h
  39. @@ -55,6 +55,7 @@ extern const PriceBaseSpec _price_base_specs[] = {
  40.     {   5600, PCAT_RUNNING,      GSF_TRAINS,       INVALID_PRICE         }, ///< PR_RUNNING_TRAIN_STEAM
  41.     {   5200, PCAT_RUNNING,      GSF_TRAINS,       INVALID_PRICE         }, ///< PR_RUNNING_TRAIN_DIESEL
  42.     {   4800, PCAT_RUNNING,      GSF_TRAINS,       INVALID_PRICE         }, ///< PR_RUNNING_TRAIN_ELECTRIC
  43. +   {   4800, PCAT_RUNNING,      GSF_TRAINS,       INVALID_PRICE         }, ///< PR_RUNNING_TRAIN_WAGON
  44.     {   9600, PCAT_RUNNING,      GSF_AIRCRAFT,     INVALID_PRICE         }, ///< PR_RUNNING_AIRCRAFT
  45.     {   1600, PCAT_RUNNING,      GSF_ROADVEHICLES, INVALID_PRICE         }, ///< PR_RUNNING_ROADVEH
  46.     {   5600, PCAT_RUNNING,      GSF_SHIPS,        INVALID_PRICE         }, ///< PR_RUNNING_SHIP

Comments