- some more medicine value tweaking
- medicine & toxic cabinet items (added to vanilla subs) - updating the positions of items inside a moving container (caused explosions to happen in the wrong position if the explosive inside something like a grenade) - renamed doctors as medical doctors
This commit is contained in:
@@ -368,10 +368,16 @@ namespace Barotrauma
|
||||
if (prefab.sprite == null) return;
|
||||
|
||||
Color color = (isHighlighted) ? Color.Orange : Color.White;
|
||||
if (isSelected && editing) color = Color.Red;
|
||||
if (isSelected && editing)
|
||||
{
|
||||
color = Color.Red;
|
||||
|
||||
GUI.DrawRectangle(spriteBatch, new Rectangle(rect.X, -rect.Y, rect.Width, rect.Height), color);
|
||||
}
|
||||
|
||||
Vector2 drawOffset = Submarine == null ? Vector2.Zero : Submarine.DrawPosition;
|
||||
prefab.sprite.DrawTiled(spriteBatch, new Vector2(rect.X + drawOffset.X, -(rect.Y + drawOffset.Y)), new Vector2(rect.Width, rect.Height), Vector2.Zero, color);
|
||||
prefab.sprite.DrawTiled(spriteBatch, new Vector2(rect.X + drawOffset.X, -(rect.Y + drawOffset.Y)), new Vector2(rect.Width, rect.Height), Vector2.Zero, color);
|
||||
|
||||
|
||||
foreach (WallSection s in sections)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user