MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / IsUnitArmed

Method IsUnitArmed

src/Ext/Script/Mission.Attack.cpp:1476–1479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1474}
1475
1476bool ScriptExt::IsUnitArmed(TechnoClass* pTechno)
1477{
1478 return TechnoExt::GetCurrentWeapon(pTechno) || TechnoExt::GetCurrentWeapon(pTechno, true);
1479}
1480
1481bool ScriptExt::IsMindControlledByEnemy(HouseClass* pHouse, TechnoClass* pTechno)
1482{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected