Skip to content
Permalink
Browse files

Fix: Some typos found using codespell

  • Loading branch information...
JMcKiern authored and LordAro committed Sep 29, 2019
1 parent 316e4e9 commit 04f659e768486da4fc73a97a633f140d9733bf78
Showing with 176 additions and 176 deletions.
  1. +1 −1 Makefile.in
  2. +3 −3 bin/ai/regression/completeness.sh
  3. +10 −10 changelog.txt
  4. +4 −4 config.lib
  5. +1 −1 docs/Readme_Windows_MSVC.md
  6. +4 −4 docs/desync.txt
  7. +3 −3 docs/landscape.html
  8. +2 −2 known-bugs.txt
  9. +1 −1 media/baseset/orig_win.obm
  10. +1 −1 os/debian/changelog
  11. +2 −2 os/rpm/openttd.changes
  12. +1 −1 os/rpm/openttd.spec
  13. +1 −1 os/windows/installer/install.nsi
  14. +1 −1 src/aircraft_cmd.cpp
  15. +1 −1 src/autoreplace_cmd.cpp
  16. +1 −1 src/blitter/32bpp_anim.cpp
  17. +2 −2 src/blitter/32bpp_optimized.cpp
  18. +1 −1 src/bmp.h
  19. +1 −1 src/cargoaction.cpp
  20. +1 −1 src/cargopacket.cpp
  21. +1 −1 src/cargopacket.h
  22. +1 −1 src/command.cpp
  23. +1 −1 src/console_cmds.cpp
  24. +1 −1 src/console_gui.cpp
  25. +1 −1 src/core/pool_type.hpp
  26. +1 −1 src/debug.h
  27. +1 −1 src/depend/depend.cpp
  28. +1 −1 src/economy.cpp
  29. +1 −1 src/fontcache.cpp
  30. +1 −1 src/fontdetection.cpp
  31. +1 −1 src/framerate_gui.cpp
  32. +2 −2 src/gfx.cpp
  33. +1 −1 src/gfx_func.h
  34. +1 −1 src/ground_vehicle.cpp
  35. +2 −2 src/landscape.cpp
  36. +1 −1 src/linkgraph/demands.h
  37. +1 −1 src/linkgraph/init.h
  38. +1 −1 src/linkgraph/linkgraphjob.cpp
  39. +1 −1 src/linkgraph/linkgraphjob.h
  40. +1 −1 src/linkgraph/refresh.cpp
  41. +2 −2 src/misc/blob.hpp
  42. +1 −1 src/misc/countedptr.hpp
  43. +4 −4 src/misc/str.hpp
  44. +1 −1 src/misc_cmd.cpp
  45. +1 −1 src/music/cocoa_m.cpp
  46. +7 −7 src/music/dmusic.cpp
  47. +2 −2 src/music/qtmidi.cpp
  48. +2 −2 src/network/network_content.cpp
  49. +1 −1 src/network/network_content_gui.cpp
  50. +1 −1 src/network/network_gui.cpp
  51. +1 −1 src/network/network_server.cpp
  52. +9 −9 src/newgrf.cpp
  53. +1 −1 src/newgrf.h
  54. +1 −1 src/newgrf_airport.cpp
  55. +1 −1 src/newgrf_commons.cpp
  56. +2 −2 src/newgrf_engine.cpp
  57. +1 −1 src/newgrf_text.cpp
  58. +2 −2 src/news_gui.cpp
  59. +2 −2 src/news_type.h
  60. +1 −1 src/object_cmd.cpp
  61. +1 −1 src/order_cmd.cpp
  62. +1 −1 src/os/macosx/osx_stdafx.h
  63. +1 −1 src/osk_gui.cpp
  64. +1 −1 src/pathfinder/npf/npf.cpp
  65. +1 −1 src/querystring_gui.h
  66. +3 −3 src/road.cpp
  67. +1 −1 src/road_gui.cpp
  68. +1 −1 src/saveload/afterload.cpp
  69. +1 −1 src/saveload/saveload.cpp
  70. +2 −2 src/saveload/saveload.h
  71. +1 −1 src/saveload/strings_sl.cpp
  72. +1 −1 src/script/api/ai_changelog.hpp
  73. +1 −1 src/script/api/script_cargo.hpp
  74. +2 −2 src/script/api/script_event_types.hpp
  75. +1 −1 src/script/api/script_goal.cpp
  76. +3 −3 src/script/api/script_road.hpp
  77. +2 −2 src/script/api/script_story_page.hpp
  78. +1 −1 src/settings.cpp
  79. +1 −1 src/settings_type.h
  80. +2 −2 src/ship_cmd.cpp
  81. +1 −1 src/sound/allegro_s.h
  82. +1 −1 src/sound/sdl_s.h
  83. +1 −1 src/station_cmd.cpp
  84. +1 −1 src/story.cpp
  85. +2 −2 src/story_gui.cpp
  86. +1 −1 src/table/elrail_data.h
  87. +1 −1 src/table/gameopt_settings.ini
  88. +1 −1 src/table/settings.h.preamble
  89. +2 −2 src/table/settings.ini
  90. +2 −2 src/table/sprites.h
  91. +2 −2 src/tile_map.cpp
  92. +4 −4 src/tile_map.h
  93. +1 −1 src/town.h
  94. +1 −1 src/townname.cpp
  95. +3 −3 src/track_func.h
  96. +1 −1 src/train_cmd.cpp
  97. +3 −3 src/tree_map.h
  98. +3 −3 src/tunnelbridge_cmd.cpp
  99. +1 −1 src/vehicle.cpp
  100. +1 −1 src/vehicle_type.h
  101. +1 −1 src/video/cocoa/cocoa_keys.h
  102. +1 −1 src/viewport_type.h
  103. +1 −1 src/void_cmd.cpp
  104. +2 −2 src/water_map.h
  105. +1 −1 src/widget_type.h
  106. +2 −2 src/window.cpp
@@ -50,7 +50,7 @@ RES := $(shell if [ ! -f $(CONFIG_CACHE_SOURCE_LIST) ] || [ -n "`cmp $(CONFIG_CA

all: config.pwd config.cache
ifdef DISTCC
@if [ -z "`echo '$(MFLAGS)' | grep '\-j'`" ]; then echo; echo "WARNING: you enabled distcc support, but you don't seem to be using the -jN paramter"; echo; fi
@if [ -z "`echo '$(MFLAGS)' | grep '\-j'`" ]; then echo; echo "WARNING: you enabled distcc support, but you don't seem to be using the -jN parameter"; echo; fi
endif
@for dir in $(DIRS); do \
$(MAKE) -C $$dir all || exit 1; \
@@ -46,9 +46,9 @@ cat ai/regression/tst_*/main.nut | tr ';' '\n' | awk '
}
}
}
# We want to remove everything before the FIRST occurence of AI.
# If we do not remove any other occurences of AI from the string
# we will remove everything before the LAST occurence of AI, so
# We want to remove everything before the FIRST occurrence of AI.
# If we do not remove any other occurrences of AI from the string
# we will remove everything before the LAST occurrence of AI, so
# do some little magic to make it work the way we want.
sub("AI", "AXXXXY")
gsub("AI", "AXXXXX")
@@ -186,7 +186,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Fix: [Win32] Right mouse scrolling didn't work properly with the Windows 10 Fall Creators Update [FS#6629] (r27935)
- Fix: Forest, candyfloss forest and battery farm skipped the first animation frame [FS#6639] (r27932)
- Fix: Glyphs in range U+0020 to U+00FF may only be defined in orig_extra.grf, not in openttd.grf [FS#6620] (r27915)
- Fix: 'unban' console command was not handling IPv6 adresses properly (r27914, r27913)
- Fix: 'unban' console command was not handling IPv6 addresses properly (r27914, r27913)
- Fix: Keep the 'link' between industry chain and smallmap windows whenever possible [FS#6585] (r27905)
- Fix: When the last vehicle is removed from a shared orders group, hide the 'Stop sharing' button in the vehicle orders window [FS#6593] (r27904)
- Fix: Tooltip of 'increase service interval' said 'decrease' [FS#6606] (r27895)
@@ -292,7 +292,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Fix: [Build] Force sorting to be locale independent, so files are always ordered the same and by that token better diff-able (r27562, r27558)
- Fix: Typos in comments and string (r27561, r27560)
- Fix: [Build] bashism that caused different CFLAGS with bash vs dash (r27557)
- Fix: Use a more appropiate sound effect for convert-rail (r27547)
- Fix: Use a more appropriate sound effect for convert-rail (r27547)
- Fix: Remove SetFill from vehicle GUI buttons, so that the viewport is resized instead of them in case of long window titles (r27546)
- Fix: [Script] Generation of API wrappers (r27545, r27544, r27543)
- Fix: [Windows] ICU got disabled for Windows builds, breaking RTL support [FS#6427] (r27542)
@@ -3183,15 +3183,15 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Fix: Improve corner case order handling: mark order as done only when actually done, obey non-stop orders, do only stop/refit at the depot in the order (r16240, r16228, r16199, r16198, r16187)
- Fix: [NoAI] Use the stop/non-stop intermediate orderflags AIs can give for goto-depot orders (r16239)
- Fix: [NewGRF] ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown (r16223)
- Fix: Possible crashes when quiting OpenTTD or forcing resizes/redraws of the screen during map generation [FS#2862] (r16220)
- Fix: Possible crashes when quitting OpenTTD or forcing resizes/redraws of the screen during map generation [FS#2862] (r16220)
- Fix: Shared orders without orders were not properly converted causing corrupt/invalid orders when loading pre 0.7 savegames [FS#2878] (r16214)
- Fix: Hardcoded (old sized) MAX_COMPANIES constant (r16182)
- Fix: [Squirrel] The traps variable was not restored, causing try/catch blocks to be 'forgotten' during a suspend (r16181)
- Fix: Do not try to reserve path for trains crashed in station [FS#2866] (r16178)
- Fix: Forbid joining AI companies via the 'move' and 'join' console commands/multiplayer lobby (r16176, r16175)
- Fix: [NoAI] AIOrder::GetOrderDestination and AIOrder::GetOrderFlags did not work on ORDER_CURRENT when the vehicle was loading/leaving in a station (r16165)
- Fix: [NoAI] Change WAYPOINT_INVALID to 0xFFFF from -1 as that is the value the AIs got (due to casting) (r16150)
- Fix: The overflowsafe type did not like dividing by int64 larger than MAX_INT32 causing division by negative numbers and small anomolies when drawing graphs [FS#2855] (r16130)
- Fix: The overflowsafe type did not like dividing by int64 larger than MAX_INT32 causing division by negative numbers and small anomalies when drawing graphs [FS#2855] (r16130)
- Fix: Road was removed when both the Remove button was active and Ctrl was pressed [FS#2582] (r16119)
- Fix: [NoAI] Make sure AIOrder::GetDestination always returns a tile belonging to the station (16109)
- Fix: [NoAI] When giving an aircraft a goto-hangar order do not let it be a normal goto-station order (r16108)
@@ -3647,7 +3647,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Fix: Inconsistent use of 8/15-bitness of NewGRF callback results with respect to TTDP's implementation of the specification (r12819, r12818, r12759)
- Fix: Possible out of bounds array access (r12809)
- Fix: Enforce autorenew values range in command (r12808)
- Fix: Vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading [FS#1938] (r12795)
- Fix: Vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefore break downs now do not happen when loading [FS#1938] (r12795)
- Fix: [OSX] In some rare cases when using an uncalibrated monitor the system colour space could not be retrieved. Show an error when this happens instead of just trying an assertion (r12776)
- Fix: Slope checking for NewGRFs failed (r12759)
- Fix: Check the TILE_NOT_SLOPED flag of the _north_ tile of multi-tile houses to decide if autoslope is allowed (r12717)
@@ -3755,7 +3755,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Feature: Separate catenary transparency settings from building transparency settings (r12103)
- Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x' (r12102)
- Feature: Add some missing VarAction2 variables (r12124)
- Feature: Make snow appear on rail tiles dependant on track height, not on height of the lowest part of the tile (r12098)
- Feature: Make snow appear on rail tiles dependent on track height, not on height of the lowest part of the tile (r12098)
- Feature: [NewGRF] Specify the purchase, rail and road description of a bridge (r12069)
- Feature: [NewGRF] Add support for var 12, Variational Action 2 (r12045)
- Feature: Allow trees on shore (r12029)
@@ -4036,7 +4036,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Feature: Add support for variable snow lines in the arctic climate, supplied by NewGRF files (r9371)
- Feature: [NewGRF] Add support for newhouses (r9315)
- Feature: [NewGRF] Add support for Action 13, which allows you to translate GRF-specific texts. The translations will only be shown if you are using a language with a GRF language id and if a string has not already been set specifically for the language you are using (r9037)
- Feature: Translation dependant formatting of dates (r8906)
- Feature: Translation dependent formatting of dates (r8906)
- Feature: If an action 7/9 leads to skipping the rest of the file, disable the NewGRF if an action 8 has not been encountered yet (r8831)
- Feature: Stop loading and disable the current NewGRF if a fatal error message in Action B is encountered. Also be more strict on the values accepted (r8830)
- Feature: Build aircraft windows will no longer show aircraft that cannot use the airport in question (r8771)
@@ -4157,7 +4157,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Fix: Do not display income/expenses when they do not belong to a 'valid' tile, like the money cheat and giving money [FS#1175] (r11021)
- Fix: One could not give money when (s)he had too much money [FS#1174] (r11020)
- Fix: Disallow buying/selling shares in your own company or a bankrupt company [FS#1169] (r11018)
- Fix: Crash when quiting the game in one of the end score windows [FS#1218] (r11071)
- Fix: Crash when quitting the game in one of the end score windows [FS#1218] (r11071)


0.5.3-RC3 (2007-08-30)
@@ -4289,7 +4289,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe

0.5.1-RC1 (2007-03-20)
------------------------------------------------------------------------
- Feature: Translation dependant formatting of dates (r8906)
- Feature: Translation dependent formatting of dates (r8906)
- Feature: Kick inactive initial network connections after some time [FS#115] (r9038, r9061)
- Feature: Add an extra news group for opening and closing of industries (r9097)
- Codechange: Disable shares by default and increase the default maximum distance from edge for oil refineries (r9339)
@@ -5252,7 +5252,7 @@ Note: OpenTTD was migrated to GitHub for 1.9, so SVN revision and FlySpray numbe
- Fix: Wrong pathfinding when northern station tile is missing
- Fix: You cannot take ownership of an oilrig by building right next to it
- Fix: [Makefile] Fixed issue where sdl-config was needed even on systems without SDL
- Fix: [SDL] Performance fix fo palette animation and mouse jumping
- Fix: [SDL] Performance fix for palette animation and mouse jumping
- Fix: [SDL] Same resolution was displayed more than once in game options
- Fix: [SDL] Smoother mouse and performance fix, like in the Windows video driver
- Fix: Wrong trains you can buy with scenarios [SF#963056]
@@ -538,8 +538,8 @@ check_params() {

# Export some variables to be used by pkg-config
#
# PKG_CONFIG_LIBDIR variable musn't be set if we are not willing to
# override the default pkg-config search path, it musn't be an empty
# PKG_CONFIG_LIBDIR variable mustn't be set if we are not willing to
# override the default pkg-config search path, it mustn't be an empty
# string. If the variable is empty (e.g. when an empty string comes
# from config.cache) then unset it. This way the "don't override" state
# will be properly preserved when (re)configuring.
@@ -1389,7 +1389,7 @@ make_compiler_cflags() {

if [ $cc_version -ge 402 ]; then
# GCC 4.2+ automatically assumes that signed overflows do
# not occur in signed arithmetics, whereas we are not
# not occur in signed arithmetic, whereas we are not
# sure that they will not happen. It furthermore complains
# about its own optimized code in some places.
flags="$flags -fno-strict-overflow"
@@ -3136,7 +3136,7 @@ detect_sse_capable_architecture() {
else
# It was forced, so it should be found.
if [ "$with_sse" != "1" ]; then
log 1 "configure: error: SSE couln't be found"
log 1 "configure: error: SSE couldn't be found"
log 1 "configure: error: you force enabled SSE, but it seems unavailable"
exit 1
fi
@@ -26,7 +26,7 @@ Install the SDK by following the instructions as given.

Dependencies for OpenTTD on Windows are handled via
[vcpkg](https://github.com/Microsoft/vcpkg/). First you need to install vcpkg
by following the `Quick Start` intructions of their
by following the `Quick Start` instructions of their
[README](https://github.com/Microsoft/vcpkg/blob/master/README.md).

After this, you can install the dependencies OpenTTD needs. We advise to use
@@ -30,7 +30,7 @@ Table of contents
in the same way, and trees always grow the same.

In OpenTTD multiplayer synchronisation works by creating a savegame
when clients join, and then transfering that savegame to the client,
when clients join, and then transferring that savegame to the client,
so it has the complete gamestate at a fixed point in time.

Afterwards clients only receive 'commands', that is: Stuff which is
@@ -81,7 +81,7 @@ Table of contents
that a vehicle picks the left line instead of the right line at
a junction on one client.

The important thing here is, that noone notices when a Desync
The important thing here is, that no one notices when a Desync
occurs. The desync client will continue to simulate the gamestate
and execute commands from the server. Once the gamestate differs
it will increasingly spiral out of control: If a vehicle picks a
@@ -108,7 +108,7 @@ Table of contents
indication on when the Desync happened. The Desync may after
all have occurred long ago, and just did not affect the checksum
up to now. The checksum may have matched 10 times or more
since the Desync happend, and only now the Desync has spiraled
since the Desync happened, and only now the Desync has spiraled
enough to finally affect the checksum. (There was once a desync
which was only noticed by the checksum after 20 game years.)

@@ -140,7 +140,7 @@ Table of contents

2.1) Cache debugging
---- ---------------
Desyncs which are caused by inproper cache validation can
Desyncs which are caused by improper cache validation can
often be found by enabling cache validation:
- Start OpenTTD with '-d desync=2'.
- This will enable validation of caches every tick.
@@ -16,7 +16,7 @@ <h3><a name="Landscape">Landscape</a></h3>
<a href="landscape_grid.html">Landscape grid</a> page.
</p>
<p>Nine attributes (counting &quot;<span style="font-weight: bold;">type</span>&quot; and
&quot;<span style="font-weight: bold;">height</span>&quot;) hold the informations about a tile.<BR>
&quot;<span style="font-weight: bold;">height</span>&quot;) hold the information about a tile.<BR>
These attributes are referred to as
&quot;<span style="font-weight: bold;">type</span>",
&quot;<span style="font-weight: bold;">height</span>",
@@ -61,7 +61,7 @@ <h3><a name="Landscape">Landscape</a></h3>
<a name="tropic_zone"></a>
Bits 1..0:
<table border="1" style="width: 30em;">
<tr bgcolor="#CCCCCC"><td colspan="2">Only meaningfull in tropic climate. It contains the definition of the available zones</td></tr>
<tr bgcolor="#CCCCCC"><td colspan="2">Only meaningful in tropic climate. It contains the definition of the available zones</td></tr>
<tr><td style="width: 5em;"><tt>00</tt></td><td>normal</td></tr>
<tr><td><tt>01</tt></td><td>desert</td></tr>
<tr><td><tt>02</tt></td><td>rain forest</td></tr>
@@ -760,7 +760,7 @@ <h3><a name="Landscape">Landscape</a></h3>
</ul>
</li>
</ul>
<small><a name="newhouses"></a>Newhouses is the name englobing a newGRF feature developped by TTDPatch devs (mainly Csaboka).<br>
<small><a name="newhouses"></a>Newhouses is the name englobing a newGRF feature developed by TTDPatch devs (mainly Csaboka).<br>
It allows the replacement of the properties as well as the graphics of houses in the game.<br>
To distinguish between the standard behaviour and the newGRF one, HouseID (m4 + m3[6]) is tested for anything above 110.<br>
110 is the count of standard houses. So above 110 means there is a new definition of at least one house</small>
@@ -220,7 +220,7 @@ Entry- and exit signals are not dragged [#4378]:
Station build date is incorrect [#4415]:
The tile query tool will show the date of the last (re)construction
at the station and not the date of the first construction. This is
due to compatability reasons with NewGRFs and the fact that it is
due to compatibility reasons with NewGRFs and the fact that it is
wrong to say that the station is built in a particular year when it
was completely destroyed/rebuilt later on.
The tile query tool can be fixed by changing the "Build date" text
@@ -404,7 +404,7 @@ Some houses and industries are not affected by transparency [#5817]:
Involuntary cargo exchange with cargodist via neutral station [#6114]:
When two players serve a neutral station at an industry, a cross-company
chain for cargo flow can and will be established which can only be
interrupted if one of the players stops competing for the ressources of
interrupted if one of the players stops competing for the resources of
that industry. There is an easy fix for this: If you are loading at the
shared station make the order "no unload" and if you're unloading make
it "no load". Cargodist will then figure out that it should not create
@@ -90,7 +90,7 @@ GM_TT19.GM = Funk Central
GM_TT20.GM = Jammit
GM_TT21.GM = Movin' On

; MIDI timecodes where the playback should attemp to start and stop short.
; MIDI timecodes where the playback should attempt to start and stop short.
; This is to allow fixing undesired silences in original MIDI files.
; However not all music drivers may support this.
[timingtrim]
@@ -1033,7 +1033,7 @@ openttd (0.4.0-1) unstable; urgency=low
openttd (0.3.6-1) unstable; urgency=low

* New upstream release
* Modifed Makefile to install xpm icon and scenarios in /usr/share/games/openttd/
* Modified Makefile to install xpm icon and scenarios in /usr/share/games/openttd/
* Added openttd.32.xpm, openttd.64.xpm was too big

-- Matthijs Kooijman <m.kooijman@student.utwente.nl> Tue, 25 Jan 2005 19:21:08 +0100
@@ -46,15 +46,15 @@ Sat May 1 15:59:32 UTC 2010 - Marcel Gmür <ammler@openttdcoop.org>
Thu Apr 1 08:53:54 UTC 2010 - Marcel Gmür <ammler@openttdcoop.org>

- upstream update 1.0.0 (finally!)
* completely independend game but still working also
* completely independent game but still working also
with ttd original gaphics, sounds and music
- Add: Recommends openmsx
- requires lzo2

-------------------------------------------------------------------
Fri Dec 18 2009 Marcel Gmür <ammler@openttdcoop.org> - 0.7.4

- support for differen branches
- support for different branches
- easy support for dedicated branch
- let openttd build system make the dektop file
- split the package to data and gui
@@ -61,7 +61,7 @@ BuildRequires: kernel
BuildRequires: pkg-config
%endif

# bulding openttd.grf is not required as it is a) part of source and
# building openttd.grf is not required as it is a) part of source and
# b) required only, if you want to use the original set
%if 0%{?with_grfcodec}
BuildRequires: grfcodec
@@ -143,7 +143,7 @@ Section "!OpenTTD" Section1
Push "$INSTDIR\scripts\README.md"
Call unix2dos

; Copy some documention files
; Copy some documentation files
SetOutPath "$INSTDIR\docs\"
File ${PATH_ROOT}docs\multiplayer.txt
Push "$INSTDIR\docs\multiplayer.txt"
@@ -1815,7 +1815,7 @@ static bool AirportHasBlock(Aircraft *v, const AirportFTA *current_pos, const Ai
* "reserve" a block for the plane
* @param v airplane that requires the operation
* @param current_pos of the vehicle in the list of blocks
* @param apc airport on which block is requsted to be set
* @param apc airport on which block is requested to be set
* @returns true on success. Eg, next block was free and we have occupied it
*/
static bool AirportSetBlocks(Aircraft *v, const AirportFTA *current_pos, const AirportFTAClass *apc)
@@ -582,7 +582,7 @@ static CommandCost ReplaceChain(Vehicle **chain, DoCommandFlag flags, bool wagon
if ((flags & DC_EXEC) != 0) TransferCargo(w, new_head, true);

/* Sell the vehicle.
* Note: This might temporarly construct new trains, so use DC_AUTOREPLACE to prevent
* Note: This might temporarily construct new trains, so use DC_AUTOREPLACE to prevent
* it from failing due to engine limits. */
cost.AddCost(DoCommand(0, w->index, 0, flags | DC_AUTOREPLACE, GetCmdSellVeh(w)));
if ((flags & DC_EXEC) != 0) {

0 comments on commit 04f659e

Please sign in to comment.
You can’t perform that action at this time.