1 - Event Horizon black holes weren't drawn on top of their hitboxes, now they are.
This commit is contained in:
1 parent
2ef4c56407
commit
6bfaad76e0
1 file changed
+9
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user