Spectating, fire, damaged limb sprites, water detector, engineer jumpsuit, new signal comp sprites, resharper cleanup (god knows what else, commit more often)
This commit is contained in:
@@ -42,6 +42,10 @@ namespace Barotrauma
|
||||
return (IsValid(vector.X) && IsValid(vector.Y));
|
||||
}
|
||||
|
||||
public static Rectangle ExpandRect(Rectangle rect, int amount)
|
||||
{
|
||||
return new Rectangle(rect.X - amount, rect.Y + amount, rect.Width + amount * 2, rect.Height + amount * 2);
|
||||
}
|
||||
|
||||
public static int VectorOrientation(Vector2 p1, Vector2 p2, Vector2 p)
|
||||
{
|
||||
|
||||
@@ -179,7 +179,6 @@ namespace Barotrauma
|
||||
var attribute = element.Attribute(name);
|
||||
if (attribute == null) return defaultValue;
|
||||
|
||||
string val = attribute.Value.ToLower().Trim();
|
||||
return GetAttributeBool(attribute, defaultValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user