Loading

Paste #poipfz5h6

  1. Index: src/lang/english.txt
  2. ===================================================================
  3. --- src/lang/english.txt    (revision 27203)
  4. +++ src/lang/english.txt    (working copy)
  5. @@ -1252,8 +1252,8 @@
  6.  STR_CONFIG_SETTING_PLANE_CRASHES_NORMAL                         :Normal
  7.  STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD                            :Allow drive-through road stops on town owned roads: {STRING2}
  8.  STR_CONFIG_SETTING_STOP_ON_TOWN_ROAD_HELPTEXT                   :Allow construction of drive-through road stops on town-owned roads
  9. -STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD                      :Allow drive-through road stops on roads owned by competitors: {STRING2}
  10. -STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD_HELPTEXT             :Allow construction of drive-through road stops on roads owned by other companies
  11. +STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD                      :Allow certain constructions on roads/canals owned by competitors: {STRING2}
  12. +STR_CONFIG_SETTING_STOP_ON_COMPETITOR_ROAD_HELPTEXT             :Allow construction of drive-through road stops on roads owned by other companies, and construction of locks on canals owned by other companies.
  13.  STR_CONFIG_SETTING_DYNAMIC_ENGINES_EXISTING_VEHICLES            :{WHITE}Changing this setting is not possible when there are vehicles
  14.  STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE                   :Infrastructure maintenance: {STRING2}
  15.  STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE_HELPTEXT          :When enabled, infrastructure causes maintenance costs. The cost grows over-proportional with the network size, thus affecting bigger companies more than smaller ones
  16. Index: src/water_cmd.cpp
  17. ===================================================================
  18. --- src/water_cmd.cpp   (revision 27203)
  19. +++ src/water_cmd.cpp   (working copy)
  20. @@ -265,6 +265,11 @@
  21.     /* lower tile */
  22.     WaterClass wc_lower = IsWaterTile(tile - delta) ? GetWaterClass(tile - delta) : WATER_CLASS_CANAL;
  23.  
  24. +   if (IsCanal(tile - delta)) {
  25. +       ret = DoCommand(tile - delta, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
  26. +       if (ret.Failed()) return ret;
  27. +   }
  28. +
  29.     if (!IsWaterTile(tile - delta)) {
  30.         ret = DoCommand(tile - delta, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
  31.         if (ret.Failed()) return ret;
  32. @@ -278,6 +283,11 @@
  33.     /* upper tile */
  34.     WaterClass wc_upper = IsWaterTile(tile + delta) ? GetWaterClass(tile + delta) : WATER_CLASS_CANAL;
  35.  
  36. +   if (IsCanal(tile + delta)) {
  37. +       ret = DoCommand(tile + delta, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
  38. +       if (ret.Failed()) return ret;
  39. +   }
  40. +
  41.     if (!IsWaterTile(tile + delta)) {
  42.         ret = DoCommand(tile + delta, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
  43.         if (ret.Failed()) return ret;

Version history

Revision # Author Created at
ptitz6wfx Anonymous 23 Mar 2015, 22:22:53 UTC Diff

Comments