(ec7e0c3d1) Take stuck and open doors into account when evaluating path access.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:28:07 +03:00
parent 3bce90251a
commit b628abbf7d
9 changed files with 343 additions and 80 deletions
@@ -26,6 +26,8 @@ namespace Barotrauma.Items.Components
private bool autoOrientGap;
private bool isStuck;
public bool IsStuck => isStuck;
private float resetPredictionTimer;
private Rectangle doorRect;