This commit is contained in:
Regalis
2016-02-20 21:52:05 +02:00
parent 619390ab72
commit 308ae7a8b0
19 changed files with 109 additions and 78 deletions
+8 -1
View File
@@ -913,6 +913,13 @@ namespace Barotrauma
}
}
}
else
{
if (selectedCharacter != null) DeselectCharacter();
selectedConstruction = null;
closestItem = null;
closestCharacter = null;
}
DisableControls = false;
}
@@ -1393,7 +1400,7 @@ namespace Barotrauma
else
{
message.Write((byte)0);
message.WriteRangedInteger((int)lastAttackCauseOfDeath, 0, Enum.GetValues(typeof(CauseOfDeath)).Length);
message.WriteRangedInteger(0, Enum.GetValues(typeof(CauseOfDeath)).Length, (int)lastAttackCauseOfDeath);
}
if (AnimController.StunTimer<=0.0f && bleeding<=0.0f && oxygen>99.0f)
@@ -328,7 +328,11 @@ namespace Barotrauma
public void Remove()
{
if (headSprite != null) headSprite.Remove();
//if (headSprite != null)
//{
// headSprite.Remove();
// headSprite = null;
//}
}
}
}