waypoint selection bug, unequipped captain uniform sprites, repairtool sounds & particle tweaking, wire overlap bug, connectionpanel loading bug, looting dead crew members

This commit is contained in:
Regalis
2015-08-04 20:11:59 +03:00
parent 9149408b36
commit 048eb5713f
24 changed files with 154 additions and 71 deletions

View File

@@ -436,7 +436,7 @@ namespace Subsurface
float dragCoefficient = 0.00001f;
float speedLength = speed.Length();
float speedLength = (speed == Vector2.Zero) ? 0.0f : speed.Length();
float drag = speedLength * speedLength * dragCoefficient * mass;
if (speed != Vector2.Zero)

View File

@@ -73,7 +73,7 @@ namespace Subsurface
public override void DrawEditing(SpriteBatch spriteBatch, Camera cam)
{
if (editingHUD==null)
if (editingHUD == null || editingHUD.UserData != this)
{
editingHUD = CreateEditingHUD();
}