We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5447c8c commit 8c9dcffCopy full SHA for 8c9dcff
src/Ext/Techno/WeaponHelpers.cpp
@@ -53,7 +53,7 @@ int TechnoExt::PickWeaponIndex(TechnoClass* pThis, TechnoClass* pTargetTechno, A
53
const bool secondIsAA = pTargetTechno && pTargetTechno->IsInAir() && pWeaponTwo->Projectile->AA;
54
auto const pFirstExt = WeaponTypeExt::ExtMap.Find(pWeaponStructOne->WeaponType);
55
const bool skipPrimaryPicking = pFirstExt->SkipWeaponPicking;
56
- const bool firstAllowedAE = !skipPrimaryPicking && pFirstExt->HasRequiredAttachedEffects(pTargetTechno, pThis);
+ const bool firstAllowedAE = skipPrimaryPicking || pFirstExt->HasRequiredAttachedEffects(pTargetTechno, pThis);
57
58
if (!allowFallback
59
&& (!allowAAFallback || !secondIsAA)
0 commit comments