fixed oversight where DirectStrike could theoretically hit NPCs when it shouldn't

This commit is contained in:
Ozzatron committed 2020-02-04 21:31:20 -05:00
1 parent 5434d32726
commit cf9cccf7a6
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.Typeless
{
if (projectile.ai[0] < 0f || projectile.ai[0] > 199f)
return null;
return projectile.ai[0] == target.whoAmI;
return (projectile.ai[0] == target.whoAmI) ? null : false;
}
}
}