(svn r3248) - Codechange: Change interface of CanRefitTo() to supply the engine type directly instead of getting it from a vehicle. This allows the function to be used before vehicles are involved.
This commit is contained in:
@@ -273,7 +273,7 @@ Vehicle *FindVehicleOnTileZ(TileIndex tile, byte z);
|
||||
void InitializeTrains(void);
|
||||
|
||||
bool CanFillVehicle(Vehicle *v);
|
||||
bool CanRefitTo(const Vehicle *v, CargoID cid_to);
|
||||
bool CanRefitTo(EngineID engine_type, CargoID cid_to);
|
||||
|
||||
void ViewportAddVehicles(DrawPixelInfo *dpi);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user