Remove unused fields from struct TemplateVehicle

This commit is contained in:
Jonathan G Rennison
2019-05-16 02:11:14 +01:00
parent f5f72611c2
commit 13291899cd
2 changed files with 0 additions and 3 deletions

View File

@@ -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);