TheAssemblyArmada / Thyme

An open source re-implementation of Generals : Zero Hour written in C++.
GNU General Public License v2.0
585 stars 59 forks source link

Duplicate test in ControlBar::Populate_OCL_Timer #1020

Open xezon opened 1 year ago

xezon commented 1 year ago
void ControlBar::Populate_OCL_Timer(Object *obj)
{
...
        if (obj->Is_KindOf(KINDOF_TECH_BUILDING)) {
            if (obj->Is_KindOf(KINDOF_TECH_BUILDING) && obj->Is_KindOf(KINDOF_AUTO_RALLYPOINT)) {