- stunned characters don't move their hands behind their back when cuffed (caused the characters to flail around when someone grabs them)

- characters can run while grabbing/dragging someone
- inventory and chatbox are hidden when stunned
- turret rotation is reset between minRotation and maxRotation when changing the rotation limits
- fixed explosion damage being applied to simPositions of the limbs instead of worldpositions
This commit is contained in:
Regalis
2016-06-09 16:54:30 +03:00
parent 37336095bd
commit d520c00dc9
6 changed files with 31 additions and 16 deletions

View File

@@ -128,7 +128,7 @@ namespace Barotrauma
if (limb.WorldPosition == worldPosition) continue;
c.AddDamage(limb.SimPosition, DamageType.None,
c.AddDamage(limb.WorldPosition, DamageType.None,
damage / c.AnimController.Limbs.Length * distFactor, 0.0f, stun * distFactor, false);
if (force > 0.0f)
{