| 2458 | return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Addon); |
| 2459 | } |
| 2460 | bool UnitType::isFlyingBuilding() const |
| 2461 | { |
| 2462 | return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::FlyingBuilding); |
| 2463 | } |
| 2464 | bool UnitType::isNeutral() const |
| 2465 | { |
| 2466 | return this->getRace() == Races::None && |