accounts for the dummy's direction

This commit is contained in:
GinYuH authored and Cameron Ewell committed 2022-07-19 12:39:55 -04:00
1 parent a8bae20541
commit ee32549a6d
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.NormalNPCs
public override void HitEffect(int hitDirection, double damage)
{
// Dummy AI, no way
NPC.ai[0] = hitDirection;
NPC.ai[0] = hitDirection * -NPC.direction;
}
public override void FindFrame(int frameHeight)