Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakota628 committed Jul 10, 2015
1 parent e38971f commit b9130f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion gtav_console/Commands/DefaultCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ private void OnConsoleAttached(DeveloperConsole dc) {

RegisterDefaultCommands();

dc.PrintDebug("DefaultCommands loaded successfully.");
//dc.PrintDebug("DefaultCommands loaded successfully.");
}

private void OnTick(object sender, EventArgs e) {
Expand Down
2 changes: 0 additions & 2 deletions gtav_console/Utils/Rectangle3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,6 @@ public Rectangle Project2D() {
if (topRight.X == -UI.WIDTH || topRight.Y == -UI.HEIGHT) topRight = new Vector2(Convert.ToSingle(GTAFuncs.WorldToScreen(Corners["010"]).X), 0);
if (topRight.X == -UI.WIDTH || topRight.Y == -UI.HEIGHT) return new Rectangle(-1, -1, -1, -1);

DeveloperConsole.Instance.PrintDebug(topRight + " " + bottomLeft);

Vector2 size = topRight - bottomLeft;

return new Rectangle(new Point((int)bottomLeft.X, (int)bottomLeft.Y), new Size((int)size.X, (int)size.Y));
Expand Down

0 comments on commit b9130f7

Please sign in to comment.