Remove unused fields from struct TemplateVehicle
This commit is contained in:
@@ -93,8 +93,6 @@ public:
|
||||
bool replace_old_only;
|
||||
|
||||
// Things derived from a virtual train
|
||||
TemplateVehicle *other_multiheaded_part; ///< Multiheaded Engine support
|
||||
Money value; ///< Value of the vehicle
|
||||
OwnerByte owner;
|
||||
|
||||
EngineID engine_type; ///< The type of engine used for this vehicle.
|
||||
|
@@ -150,7 +150,6 @@ void SetupTemplateVehicleFromVirtual(TemplateVehicle *tmp, TemplateVehicle *prev
|
||||
}
|
||||
tmp->railtype = virt->railtype;
|
||||
tmp->owner = virt->owner;
|
||||
tmp->value = virt->value;
|
||||
|
||||
// set the subtype but also clear the virtual flag while doing it
|
||||
tmp->subtype = virt->subtype & ~(1 << GVSF_VIRTUAL);
|
||||
|
Reference in New Issue
Block a user