Fix the gap and submarine position indicator icon position.
This commit is contained in:
@@ -135,6 +135,7 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
origin = new Vector2(sourceRect.Width * newOrigin.Value.X, sourceRect.Height * newOrigin.Value.Y);
|
origin = new Vector2(sourceRect.Width * newOrigin.Value.X, sourceRect.Height * newOrigin.Value.Y);
|
||||||
}
|
}
|
||||||
|
size = new Vector2(sourceRect.Width, sourceRect.Height);
|
||||||
rotation = newRotation;
|
rotation = newRotation;
|
||||||
if (!list.Contains(this))
|
if (!list.Contains(this))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user