slight stormjaw adjustment
This commit is contained in:
1 parent
a2c2b19a98
commit
3e459252b0
1 file changed
+4
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user