Fixed the door collision bug at docking ports

This commit is contained in:
Regalis
2016-08-16 20:21:33 +03:00
parent 26b6847bca
commit 7c8e866030
5 changed files with 113 additions and 54 deletions

View File

@@ -549,7 +549,7 @@ namespace Barotrauma
if (bodyShapeTexture == null)
{
switch (body.bodyShape)
switch (body.BodyShape)
{
case PhysicsBody.Shape.Rectangle:
bodyShapeTexture = GUI.CreateRectangle(