Button&door sounds, sound looping bugfixes, positional sound bugfixes + low pass filter on distant sounds, submarine collision improvements, controller trigger bugfix, humans walk/run more slowly in water

This commit is contained in:
Regalis
2015-10-04 14:49:05 +03:00
parent 46e862216b
commit 0be4ad4f84
66 changed files with 317 additions and 222 deletions
+4 -4
View File
@@ -179,7 +179,7 @@ namespace Subsurface.Items.Components
{
item.Combine(projectile);
ropeBodies[ropeBodies.Length - 1].Enabled = false;
isActive = false;
IsActive = false;
}
}
@@ -235,7 +235,7 @@ namespace Subsurface.Items.Components
{
if (joint != null) joint.Enabled = false;
}
isActive = false;
IsActive = false;
}
}
@@ -243,7 +243,7 @@ namespace Subsurface.Items.Components
{
base.Draw(spriteBatch);
if (!isActive) return;
if (!IsActive) return;
RevoluteJoint firstJoint = null;
@@ -279,7 +279,7 @@ namespace Subsurface.Items.Components
public void Attach(Item projectile)
{
reload = 0.5f;
isActive = true;
IsActive = true;
this.projectile = projectile;
//Projectile projectileComponent = projectile.GetComponent<Projectile>();