1 - Event Horizon black holes weren't drawn on top of their hitboxes, now they are.

This commit is contained in:
Andrew Marheine committed 2021-05-20 11:57:03 -05:00
1 parent 2ef4c56407
commit 6bfaad76e0
1 file changed
+9 -1
+9 -1
View File
@@ -1,3 +1,5 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -58,5 +60,11 @@ namespace CalamityMod.Projectiles.Magic
{
target.AddBuff(BuffID.Daybreak, 300);
}
}
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
{
CalamityUtils.DrawAfterimagesCentered(projectile, ProjectileID.Sets.TrailingMode[projectile.type], lightColor, 1);
return false;
}
}
}