Merge branch '1.4.4' into staging

This commit is contained in:
GinYuH committed 2025-12-26 23:40:32 -08:00
commit ccbf05b08f
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1153,7 +1153,7 @@ namespace CalamityMod.ILEditing
orig(self, drawData, solidLayer, waterStyleOverride, screenPosition, screenOffset, tileX, tileY);
var type = drawData.typeCache;
if (type < 0 || type >= GlowMaskTile.LookupLength)
if (type >= GlowMaskTile.LookupLength)
return;
var glowMaskTile = GlowMaskTile.InstanceLookup[type];
@@ -269,9 +269,9 @@ public static partial class RevengeanceAndDeathAI
}
if (targetData.Center.X - NPC.Center.X > 0f)
NPC.spriteDirection = -1;
else
NPC.spriteDirection = 1;
else
NPC.spriteDirection = -1;
NPC.rotation = NPC.velocity.X * 0.1f;