removed netmode checks because it just broke astral even more
This commit is contained in:
1 parent
2ed47e2ecb
commit
b58a79f19d
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user