Build 0.18.9.0

This commit is contained in:
Markus Isberg
2022-06-14 04:14:47 +09:00
parent 4f5a3bf8b9
commit 856f894203
39 changed files with 459 additions and 377 deletions
@@ -183,8 +183,21 @@ namespace Barotrauma.MapCreatures.Behavior
Color branchColor = (branch.IsRoot || branch.IsRootGrowth) ? RootColor : Color.White;
if (GameMain.DebugDraw)
{
if (branch.DisconnectedFromRoot && branch.ParentBranch == null)
{
branchColor = Color.Yellow;
}
else if (branch.DisconnectedFromRoot)
{
branchColor = Color.Cyan;
}
else if (branch.ParentBranch == null)
{
branchColor = Color.Magenta;
}
#if DEBUG
Vector2 basePos = Parent.WorldPosition;
foreach (var (from, to) in debugSearchLines)