mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-22 22:19:08 +00:00
(svn r5176) fixing the typo, that should have been fixed in last commit
This commit is contained in:
@@ -839,7 +839,7 @@ int CheckTrainStoppedInDepot(const Vehicle *v)
|
|||||||
for (; v != NULL; v = v->next) {
|
for (; v != NULL; v = v->next) {
|
||||||
/* This count is used by the depot code to determine the number of engines
|
/* This count is used by the depot code to determine the number of engines
|
||||||
* in the consist. Exclude articulated parts so that autoreplacing to
|
* in the consist. Exclude articulated parts so that autoreplacing to
|
||||||
* engines with more articulated parts that before works correctly.
|
* engines with more articulated parts than before works correctly.
|
||||||
*
|
*
|
||||||
* Also skip counting rear ends of multiheaded engines */
|
* Also skip counting rear ends of multiheaded engines */
|
||||||
if (!IsArticulatedPart(v) && !(!IsTrainEngine(v) && IsMultiheaded(v))) count++;
|
if (!IsArticulatedPart(v) && !(!IsTrainEngine(v) && IsMultiheaded(v))) count++;
|
||||||
|
Reference in New Issue
Block a user