This commit is contained in:
IbanPlay committed 2022-01-06 18:34:58 +01:00
1 parent 447d8d78a0
commit 603cefa603
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -539,7 +539,7 @@ namespace CalamityMod.ILEditing
#endregion Ash Particle Rendering
#region General Particle Rendering
private static void DrawParticles(On.Terraria.Main.orig_DrawInterface orig, Main self, GameTime gameTime)
private static void DrawGeneralParticles(On.Terraria.Main.orig_DrawInterface orig, Main self, GameTime gameTime)
{
Main.spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, SamplerState.PointClamp, default, null, null, Main.GameViewMatrix.ZoomMatrix);
GeneralParticleHandler.DrawAllParticles(Main.spriteBatch);
+1 -1
View File
@@ -169,6 +169,6 @@ namespace CalamityMod.Particles
/// <summary>
/// Gives you the texture of the particle type. Useful for custom drawing
/// </summary>
public static Texture2D GetTexture(int type) => particleTextures[type]
public static Texture2D GetTexture(int type) => particleTextures[type];
}
}