summaryrefslogtreecommitdiff
path: root/src/aystar.cpp
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-06-09 18:31:04 +0000
committerbjarni <bjarni@openttd.org>2007-06-09 18:31:04 +0000
commit3afea2d67389dba25e0ea20b443710f1020b9f05 (patch)
treef225dff6a8923d03219dfa8e2bc46478e862ea72 /src/aystar.cpp
parentec25b71bd4a83524213cea84d425d6b6718a3660 (diff)
downloadopenttd-3afea2d67389dba25e0ea20b443710f1020b9f05.tar.xz
(svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crash
The problem was that if adding units to the clone (wagon by wagon) failed, then cloning wouldn't notice it and it made two half trains Now it detects this case and it will make cloning fail. The string with the explanation for the failed move will be used in the error message so the user will know why it failed.
Diffstat (limited to 'src/aystar.cpp')
0 files changed, 0 insertions, 0 deletions