diff --git a/patches/tModLoader/Terraria/Item.cs.patch b/patches/tModLoader/Terraria/Item.cs.patch index cebb81b3152..c5ca77aeb2a 100644 --- a/patches/tModLoader/Terraria/Item.cs.patch +++ b/patches/tModLoader/Terraria/Item.cs.patch @@ -1901,6 +1901,15 @@ placeStyle = 0; buffTime = 0; buffType = 0; +@@ -47366,7 +_,7 @@ + noUseGraphic = false; + lifeRegen = 0; + shootSpeed = 0f; +- active = true; ++ active = Type != 0; + alpha = 0; + ammo = AmmoID.None; + useAmmo = AmmoID.None; @@ -47426,6 +_,9 @@ public Color GetAlpha(Color newColor) @@ -2240,10 +2249,11 @@ public void ClearNameOverride() { _nameOverride = null; -@@ -49309,6 +_,9 @@ +@@ -49309,6 +_,10 @@ dye = 0; shoot = 0; mountType = -1; ++ active = false; + + ModItem = null; + _globals = null; diff --git a/patches/tModLoader/Terraria/NPC.cs.patch b/patches/tModLoader/Terraria/NPC.cs.patch index 2f294b38b59..4870a385cd5 100644 --- a/patches/tModLoader/Terraria/NPC.cs.patch +++ b/patches/tModLoader/Terraria/NPC.cs.patch @@ -790,6 +790,15 @@ setFrameSize = false; netSkip = -2; realLife = -1; +@@ -2254,7 +_,7 @@ + boss = false; + noTileCollide = false; + rotation = 0f; +- active = true; ++ active = Type != 0; + alpha = 0; + color = default(Color); + collideX = false; @@ -6970,7 +_,9 @@ DeathSound = SoundID.NPCDeath1; npcSlots = 0.1f; diff --git a/patches/tModLoader/Terraria/Projectile.cs.patch b/patches/tModLoader/Terraria/Projectile.cs.patch index a27a61278f2..7f3ba894e8e 100644 --- a/patches/tModLoader/Terraria/Projectile.cs.patch +++ b/patches/tModLoader/Terraria/Projectile.cs.patch @@ -427,6 +427,15 @@ ownerHitCheck = false; hide = false; lavaWet = false; +@@ -312,7 +_,7 @@ + alpha = 0; + glowMask = -1; + type = Type; +- active = true; ++ active = Type != 0; + rotation = 0f; + scale = 1f; + owner = 255; @@ -1167,6 +_,8 @@ magic = true; }