v1.0.20.1 (summer patch)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Barotrauma.Networking;
|
||||
using Barotrauma.Lights;
|
||||
using Barotrauma.Networking;
|
||||
using FarseerPhysics;
|
||||
using FarseerPhysics.Collision;
|
||||
using Microsoft.Xna.Framework;
|
||||
@@ -10,6 +11,8 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
private GUIMessageBox autodockingVerification;
|
||||
|
||||
private readonly ConvexHull[] convexHulls = new ConvexHull[2];
|
||||
|
||||
public Vector2 DrawSize
|
||||
{
|
||||
//use the extents of the item as the draw size
|
||||
@@ -109,6 +112,15 @@ namespace Barotrauma.Items.Components
|
||||
}
|
||||
}
|
||||
|
||||
partial void RemoveConvexHulls()
|
||||
{
|
||||
for (int i = 0; i < convexHulls.Length; i++)
|
||||
{
|
||||
convexHulls[i]?.Remove();
|
||||
convexHulls[i] = null;
|
||||
}
|
||||
}
|
||||
|
||||
public void ClientEventRead(IReadMessage msg, float sendingTime)
|
||||
{
|
||||
bool isDocked = msg.ReadBoolean();
|
||||
|
||||
Reference in New Issue
Block a user