| 2501 | this->getID() == UnitTypes::Spell_Scanner_Sweep; |
| 2502 | } |
| 2503 | bool UnitType::producesCreep() const |
| 2504 | { |
| 2505 | return this->producesLarva() || |
| 2506 | this->getID() == UnitTypes::Zerg_Creep_Colony || |
| 2507 | this->getID() == UnitTypes::Zerg_Spore_Colony || |
| 2508 | this->getID() == UnitTypes::Zerg_Sunken_Colony; |
| 2509 | } |
| 2510 | bool UnitType::producesLarva() const |
| 2511 | { |
| 2512 | return this->getID() == UnitTypes::Zerg_Hatchery || |
no test coverage detected