OBT/1.2.1(Summer update)
Sync with upstream
This commit is contained in:
@@ -1786,7 +1786,7 @@ namespace Barotrauma
|
||||
offset *= item.Scale;
|
||||
if (item.FlippedX) { offset.X *= -1; }
|
||||
if (item.FlippedY) { offset.Y *= -1; }
|
||||
offset = Vector2.Transform(offset, Matrix.CreateRotationZ(-item.RotationRad));
|
||||
offset = Vector2.Transform(offset, Matrix.CreateRotationZ(item.body?.Rotation ?? -item.RotationRad));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user