Merge branch '1.4.4' into staging
This commit is contained in:
commit
ccbf05b08f
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user