Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
FS-21 committed Jun 4, 2023
1 parent 82dbb40 commit 9d7b854
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Ext/Techno/Hooks.Firing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,7 @@ DEFINE_HOOK(0x6FE562, TechnoClass_FireAt_BurstRandomTarget, 0x6)
for (auto pTarget : *TechnoClass::Array)
{
if (pTarget == pThis
|| pThisType->Immune
|| !EnumFunctions::IsTechnoEligible(pTarget, pWeaponExt->CanTarget, true)
|| (!pWeapon->Projectile->AA && pTarget->IsInAir())
|| (!pWeapon->Projectile->AG && !pTarget->IsInAir())
Expand Down

0 comments on commit 9d7b854

Please sign in to comment.