- 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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user