(f7209b813) Draw the sprites of the entities that are being dragged in the sub editor (instead of just a red rectangle).

This commit is contained in:
Joonas Rikkonen
2019-03-28 12:35:57 +02:00
parent 13870a31c4
commit d7526934e6
3 changed files with 7 additions and 3 deletions
@@ -35,7 +35,7 @@ namespace Barotrauma
public override void DrawPlacing(SpriteBatch spriteBatch, Rectangle placeRect, float scale = 1.0f)
{
// TODO: the scale property is not used
sprite.DrawTiled(spriteBatch, new Vector2(placeRect.X, -placeRect.Y), new Vector2(placeRect.Width, placeRect.Height), textureScale: TextureScale * Scale);
sprite.DrawTiled(spriteBatch, new Vector2(placeRect.X, -placeRect.Y), new Vector2(placeRect.Width, placeRect.Height), color: Color.White * 0.8f, textureScale: TextureScale * Scale);
}
}
}