UnitGroup SelectAll( BWAPI::UnitType type ) { if ( type.isNeutral() && UnitGroupManager::s_UnitGroupManager->neutral != NULL ) { return UnitGroupManager::s_UnitGroupManager->data[UnitGroupManager::s_UnitGroupManager->neutral][type]; } return UnitGroupManager::s_UnitGroupManager->data[BWAPI::Broodwar->self()][type]; }
UnitGroup SelectAll(BWAPI::UnitType type) { if (type.isNeutral() && neutral!=NULL) return data[neutral][type]; return data[BWAPI::Broodwar->self()][type]; }