Skip to content

Commit

Permalink
小修复
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimRecya committed Feb 19, 2025
1 parent 5677c8c commit cce26bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Ext/Bullet/Trajectories/DisperseTrajectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,9 @@ bool DisperseTrajectory::PrepareDisperseWeapon(BulletClass* pBullet)
if (checkCells && EnumFunctions::IsCellEligible(pCell, pWeaponExt->CanTarget, true, true))
validCells.push_back(pCell);

if (!pType->WeaponHolistic && this->TargetInTheAir)
continue;

auto pObject = pCell->GetContent();

while (pObject)
Expand Down

0 comments on commit cce26bc

Please sign in to comment.