diff --git a/src/tbtr_template_vehicle.h b/src/tbtr_template_vehicle.h index dff9f90bb8..5003c38390 100644 --- a/src/tbtr_template_vehicle.h +++ b/src/tbtr_template_vehicle.h @@ -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. diff --git a/src/tbtr_template_vehicle_func.cpp b/src/tbtr_template_vehicle_func.cpp index 3b048f41d7..069f3d4641 100644 --- a/src/tbtr_template_vehicle_func.cpp +++ b/src/tbtr_template_vehicle_func.cpp @@ -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);