Build 1.1.4.0
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Linq;
|
||||
using System.Linq;
|
||||
|
||||
namespace Barotrauma
|
||||
namespace Barotrauma
|
||||
{
|
||||
partial class ConditionalSprite
|
||||
{
|
||||
|
||||
@@ -144,13 +144,7 @@ namespace Barotrauma
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
foreach (XAttribute attribute in subElement.Attributes())
|
||||
{
|
||||
if (PropertyConditional.IsValid(attribute))
|
||||
{
|
||||
conditionalList.Add(new PropertyConditional(attribute));
|
||||
}
|
||||
}
|
||||
conditionalList.AddRange(PropertyConditional.FromXElement(subElement));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -188,7 +182,6 @@ namespace Barotrauma
|
||||
|
||||
public float GetRotation(ref float rotationState, float randomRotationFactor)
|
||||
{
|
||||
RotationSpeed = -Math.Abs(RotationSpeed);
|
||||
switch (RotationAnim)
|
||||
{
|
||||
case AnimationType.Sine:
|
||||
|
||||
Reference in New Issue
Block a user