(0ccb08c95) Remove item collision category, since we only want to check the walls and the characters here.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:22:30 +03:00
parent ad604a44c4
commit cf55de90ba
9 changed files with 319 additions and 130 deletions
@@ -1312,6 +1312,10 @@ namespace Barotrauma
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
if (!broken)
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
if (body == null || !body.Enabled || !inWater || ParentInventory != null || Removed) { return; }