Enable editing of the texture scale of the structures.

This commit is contained in:
itchyOwl
2018-04-06 16:07:17 +03:00
parent 9fc65298e8
commit 22c3af6af6
2 changed files with 9 additions and 2 deletions
@@ -133,7 +133,8 @@ namespace Barotrauma
spriteBatch,
new Vector2(rect.X + drawOffset.X, -(rect.Y + drawOffset.Y)),
new Vector2(rect.Width, rect.Height),
color: color);
color: color,
textureScale: TextureScale);
}
}
@@ -177,7 +178,8 @@ namespace Barotrauma
new Vector2(sections[i].rect.Width, sections[i].rect.Height),
color: color,
startOffset: textureOffset,
depth: depth);
depth: depth,
textureScale: TextureScale);
}
}