Fix the gap and submarine position indicator icon position.

This commit is contained in:
itchyOwl
2018-04-09 18:11:27 +03:00
parent 8c4531188b
commit 22e2c8d8c2

View File

@@ -135,6 +135,7 @@ namespace Barotrauma
{
origin = new Vector2(sourceRect.Width * newOrigin.Value.X, sourceRect.Height * newOrigin.Value.Y);
}
size = new Vector2(sourceRect.Width, sourceRect.Height);
rotation = newRotation;
if (!list.Contains(this))
{