summaryrefslogtreecommitdiff
path: root/src/articulated_vehicles.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-17 04:23:03 +0000
committerrubidium <rubidium@openttd.org>2007-09-17 04:23:03 +0000
commit257fdb38e6dde17a1d3546d83c67679ccba7160b (patch)
tree7b1861fb2f716b857d3f3e5cc617f04cc8d36524 /src/articulated_vehicles.h
parentf3491cb062a5854b6a8c713520c6af3ca2b36335 (diff)
downloadopenttd-257fdb38e6dde17a1d3546d83c67679ccba7160b.tar.xz
(svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.
Diffstat (limited to 'src/articulated_vehicles.h')
-rw-r--r--src/articulated_vehicles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/articulated_vehicles.h b/src/articulated_vehicles.h
index 45c9f1937..ff1342fb3 100644
--- a/src/articulated_vehicles.h
+++ b/src/articulated_vehicles.h
@@ -5,7 +5,7 @@
#ifndef ARTICULATED_VEHICLES_H
#define ARTICULATED_VEHICLES_H
-uint CountArticulatedParts(EngineID engine_type);
+uint CountArticulatedParts(EngineID engine_type, bool purchase_window);
void AddArticulatedParts(Vehicle **vl, VehicleType type);
#endif /* ARTICULATED_VEHICLES_H */