Skip to content

Commit

Permalink
Fix a bug caused by copy paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkku committed Aug 28, 2024
1 parent 6e9507f commit 119b6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ext/Bullet/Hooks.DetonateLogics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ DEFINE_HOOK(0x46A290, BulletClass_Logics_Extras, 0x5)
if (size > i)
isFull = pWeaponExt->ExtraWarheads_FullDetonation[i];
if (size > 0)
isFull = pWeaponExt->ExtraWarheads_DetonationChances[size - 1];
isFull = pWeaponExt->ExtraWarheads_FullDetonation[size - 1];

if (detonate)
{
Expand Down

0 comments on commit 119b6de

Please sign in to comment.