Fixed an error with Fetid Emesis.

This commit is contained in:
Andrew Marheine committed 2020-05-07 21:23:09 -05:00
1 parent 6593035511
commit ffcb16bdfc
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Ranged
if (player.Calamity().soundCooldown <= 0)
{
// WoF vomit sound.
Main.PlaySound(SoundID.NPCKilled, position.X, position.Y, 13, 0.5f, 0f);
Main.PlaySound(SoundID.NPCKilled, (int)position.X, (int)position.Y, 13, 0.5f, 0f);
player.Calamity().soundCooldown = 120;
}
return false;