(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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user