slight stormjaw adjustment

This commit is contained in:
ben-tk committed 2022-01-12 16:56:28 -05:00
1 parent a2c2b19a98
commit 3e459252b0
1 file changed
+4 -1
+4 -1
View File
@@ -571,7 +571,10 @@ namespace CalamityMod.Projectiles.Summon
public override bool TileCollideStyle(ref int width, ref int height, ref bool fallThrough)
{
fallThrough = projectile.Bottom.Y < player.Top.Y;
if (targetIndex < 0)
fallThrough = projectile.Bottom.Y < player.Top.Y;
else
fallThrough = projectile.Bottom.Y < Main.npc[targetIndex].Top.Y;
return true;
}