Skip to content

Commit

Permalink
Mono compatibility added
Browse files Browse the repository at this point in the history
  • Loading branch information
White committed Jul 4, 2015
1 parent eee66f7 commit bab72b1
Show file tree
Hide file tree
Showing 18 changed files with 37,879 additions and 39,424 deletions.
5 changes: 0 additions & 5 deletions Terraria/Chest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2179,11 +2179,6 @@ public static bool Unlock(int X, int Y)
{
Tile tile = Main.tile[i, j];
tile.frameX = (short)(tile.frameX - num);
for (int k = 0; k < 4; k++)
{
Vector2 vector2 = new Vector2((float)(i * 16), (float)(j * 16));
Color color = new Color();
}
}
}
return true;
Expand Down
4 changes: 0 additions & 4 deletions Terraria/Collision.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2434,8 +2434,6 @@ public static Vector2 StickyTiles(Vector2 Position, Vector2 Velocity, int Width,
{
if (Main.tile[i, j].type == 51 && (double)(Math.Abs(Velocity.X) + Math.Abs(Velocity.Y)) > 0.7 && Main.rand.Next(30) == 0)
{
Vector2 vector21 = new Vector2((float)(i * 16), (float)(j * 16));
Color color = new Color();
}
return new Vector2((float)i, (float)j);
}
Expand All @@ -2455,8 +2453,6 @@ public static Vector2 StickyTiles(Vector2 Position, Vector2 Velocity, int Width,
{
if (Main.tile[i, j].type == 51 && (double)(Math.Abs(Velocity.X) + Math.Abs(Velocity.Y)) > 0.7 && Main.rand.Next(30) == 0)
{
Vector2 vector22 = new Vector2((float)(i * 16), (float)(j * 16));
Color color1 = new Color();
}
return new Vector2((float)i, (float)j);
}
Expand Down
Loading

0 comments on commit bab72b1

Please sign in to comment.