TBTR: Remove unused function: TemplateReplacement::GetTemplateVehicle

(cherry picked from commit 8afb21cf9c)
pull/104/head
Jonathan G Rennison 5 years ago
parent 2e929a88a9
commit 835562d81d

@ -205,17 +205,6 @@ struct TemplateReplacement : TemplateReplacementPool::PoolItem<&_template_replac
inline void SetTemplate(TemplateID tid) { this->sel_template = tid; }
inline TemplateID GetTemplateVehicleID() { return sel_template; }
inline const TemplateVehicle* GetTemplateVehicle()
{
const TemplateVehicle *tv;
FOR_ALL_TEMPLATES(tv) {
if (tv->index == this->sel_template) {
return tv;
}
}
return NULL;
}
};
TemplateReplacement* GetTemplateReplacementByGroupID(GroupID);

Loading…
Cancel
Save