Switch to Barotrauma & too many misc changes to remember

This commit is contained in:
Regalis
2015-10-16 18:11:58 +03:00
parent 2bb5d41836
commit 838022fcd5
203 changed files with 540 additions and 419 deletions
@@ -4,7 +4,7 @@ using FarseerPhysics.Dynamics.Contacts;
using Microsoft.Xna.Framework;
using System.Xml.Linq;
namespace Subsurface.Items.Components
namespace Barotrauma.Items.Components
{
class MeleeWeapon : Holdable
{
@@ -74,7 +74,7 @@ namespace Subsurface.Items.Components
hitting = true;
IsActive = true;
return true;
return false;
}
public override void Drop(Character dropper)
@@ -187,6 +187,8 @@ namespace Subsurface.Items.Components
RestoreCollision();
hitting = false;
ApplyStatusEffects(ActionType.OnUse, 1.0f, picker);
return true;
}
}