Removed a redundant DrawRectangle method & redundant sub visibility culling in GameScreen

This commit is contained in:
Regalis
2016-11-12 18:29:39 +02:00
parent 0353732e7e
commit c2098f06f8
5 changed files with 17 additions and 40 deletions
@@ -190,7 +190,7 @@ namespace Barotrauma.Items.Components
Color.Black * 0.5f, 2, GUI.SmallFont);
}
GUI.DrawRectangle(spriteBatch, hullRect, borderColor, 2);
GUI.DrawRectangle(spriteBatch, hullRect, borderColor, false, 0.0f, 2);
}
}