- item sprites visible in fabricator menu

- deth charge rotation fix
- sonar tweaking (ruin walls look slightly different from cave walls)
- connector sprite positioning fix
- repairtool is active when in use
This commit is contained in:
Regalis
2016-05-25 16:18:02 +03:00
parent b4af92ace2
commit da98ade77c
8 changed files with 53 additions and 32 deletions
@@ -131,6 +131,8 @@ namespace Barotrauma.Items.Components
ApplyStatusEffects(ActionType.OnActive, deltaTime, null);
if (minRotation == maxRotation) return;
float targetMidDiff = MathHelper.WrapAngle(targetRotation - (minRotation + maxRotation) / 2.0f);
float maxDist = (maxRotation - minRotation) / 2.0f;
@@ -184,6 +186,7 @@ namespace Barotrauma.Items.Components
Item projectile = projectiles[0].Item;
projectile.Drop();
projectile.body.Dir = 1.0f;
projectile.body.ResetDynamics();
projectile.body.Enabled = true;