summaryrefslogtreecommitdiff
path: root/src/vehicle.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-06 14:59:01 +0000
committerrubidium <rubidium@openttd.org>2007-05-06 14:59:01 +0000
commitabbaa1691e1900870740b5878dd95b5bef7a0cf0 (patch)
tree1cb12a860a1d49d0f55ca151829a324e5d880a14 /src/vehicle.h
parentcf927a97926001d8aba5f18116754b801cec353d (diff)
downloadopenttd-abbaa1691e1900870740b5878dd95b5bef7a0cf0.tar.xz
(svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r--src/vehicle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vehicle.h b/src/vehicle.h
index 62fb935b2..9143d5c87 100644
--- a/src/vehicle.h
+++ b/src/vehicle.h
@@ -467,7 +467,6 @@ void InitializeTrains();
byte VehicleRandomBits();
void ResetVehiclePosHash();
-bool CanFillVehicle(Vehicle *v);
bool CanRefitTo(EngineID engine_type, CargoID cid_to);
CargoID FindFirstRefittableCargo(EngineID engine_type);
int32 GetRefitCost(EngineID engine_type);
@@ -507,7 +506,7 @@ void ShowAircraftViewWindow(const Vehicle* v);
UnitID GetFreeUnitNumber(byte type);
-int LoadUnloadVehicle(Vehicle *v);
+bool LoadUnloadVehicle(Vehicle *v);
void TrainConsistChanged(Vehicle *v);
void TrainPowerChanged(Vehicle *v);