- characters aren't teleported through gaps if a wall doesn't have a hole there

- characters aren't teleported outside until they're far enough from hulls (prevents them from "jumping" outside as they're teleported partially inside the body of the sub)
- arms are mirrored/flipped when turning in water
This commit is contained in:
Regalis
2016-04-22 17:21:34 +03:00
parent 510602623a
commit 6c538443fd
4 changed files with 18 additions and 15 deletions
+2 -1
View File
@@ -971,8 +971,9 @@ namespace Barotrauma
foreach (Item item in inventory.Items)
{
if (item == null || item.body == null || item.body.Enabled) continue;
item.Submarine = Submarine;
item.SetTransform(SimPosition, 0.0f);
item.Submarine = Submarine;
}
}