Medical items, improved falldamage, "power on" sounds

This commit is contained in:
Regalis
2015-07-24 13:46:22 +03:00
parent c2be74324d
commit 461547d949
12 changed files with 105 additions and 12 deletions
+8 -1
View File
@@ -172,6 +172,13 @@ namespace Subsurface
}
}
public float Bleeding
{
get { return bleeding; }
set { bleeding = value; }
}
//public float Blood
//{
// get { return blood; }
@@ -575,7 +582,7 @@ namespace Subsurface
Body body = Submarine.PickBody(AnimController.limbs[0].SimPosition, mouseSimPos);
Structure structure = null;
if (body != null) structure = body.UserData as Structure;
if (structure!=null)
if (structure != null)
{
if (!structure.CastShadow && moveCam)
{