removed netmode checks because it just broke astral even more

This commit is contained in:
termigator1359 committed 2020-07-02 13:12:49 -04:00
1 parent 2ed47e2ecb
commit b58a79f19d
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.Items
{
npc.active = false;
npc.netUpdate = true;
Main.PlaySound(SoundID.NPCDeath2, npc.position);
Main.PlaySound(SoundID.NPCDeath2, npc.Center);
}
}
}
+1 -1
View File
@@ -1019,7 +1019,7 @@ namespace CalamityMod.Projectiles
defCrit = 4;
}
if (projectile.owner == Main.myPlayer && Main.netMode != NetmodeID.MultiplayerClient)
if (projectile.owner == Main.myPlayer/* && Main.netMode != NetmodeID.MultiplayerClient*/)
{
int x = (int)(projectile.Center.X / 16f);
int y = (int)(projectile.Center.Y / 16f);
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Projectiles.Typeless
public override bool PreAI()
{
if (projectile.owner == Main.myPlayer && Main.netMode != NetmodeID.MultiplayerClient)
if (projectile.owner == Main.myPlayer/* && Main.netMode != NetmodeID.MultiplayerClient*/)
{
int x = (int)(projectile.Center.X / 16f);
int y = (int)(projectile.Center.Y / 16f);
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Projectiles.Typeless
public void ConvertShit(Projectile projectile)
{
if (projectile.owner == Main.myPlayer && Main.netMode != NetmodeID.MultiplayerClient)
if (projectile.owner == Main.myPlayer/* && Main.netMode != NetmodeID.MultiplayerClient*/)
{
int x = (int)(projectile.Center.X / 16f);
int y = (int)(projectile.Center.Y / 16f);