- included wrap_oal.dll in the build (may help with the OpenAL exceptions?)

- medics always have a high enough medical skill to fabricate any drug
- respawned characters get the same ID card tags they would've gotten if they had spawned inside the main sub
- highlighted characters glow in the dark
This commit is contained in:
Regalis
2016-08-22 21:06:01 +03:00
parent d476ebdc8d
commit f03d3b2f61
6 changed files with 25 additions and 11 deletions
+10 -3
View File
@@ -132,10 +132,17 @@ namespace Barotrauma.Lights
light.Draw(spriteBatch);
}
if (Character.Controlled != null && Character.Controlled.ClosestItem != null)
if (Character.Controlled != null)
{
Character.Controlled.ClosestItem.Draw(spriteBatch, false, true);
Character.Controlled.ClosestItem.IsHighlighted = true;
if (Character.Controlled.ClosestItem != null)
{
Character.Controlled.ClosestItem.Draw(spriteBatch, false, true);
Character.Controlled.ClosestItem.IsHighlighted = true;
}
else if (Character.Controlled.ClosestCharacter != null)
{
Character.Controlled.ClosestCharacter.Draw(spriteBatch);
}
}
spriteBatch.End();