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

Method IsMindControlledByEnemy

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

Source from the content-addressed store, hash-verified

1479}
1480
1481bool ScriptExt::IsMindControlledByEnemy(HouseClass* pHouse, TechnoClass* pTechno)
1482{
1483 return pTechno->IsMindControlled() && !pHouse->IsAlliedWith(pTechno->MindControlledBy);
1484}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected