ece6ead...7b471b5

commit 7b471b565d49a165ef54357fe6d165bf5df6522b
Author: Joonas Rikkonen <poe.regalis@gmail.com>
Date:   Sun Mar 24 13:49:53 2019 +0200

    Don't apply smoothing to client cursor positions server-side

commit f6a67ca31e98a353bde591789bb42a2f84d1bcc1
Author: Joonas Rikkonen <poe.regalis@gmail.com>
Date:   Sat Mar 23 22:29:01 2019 +0200

    Nuclear shells and nuclear depth charges are removed after they've exploded. Closes #1316

commit 2d7b7b9643d3640f784ba5ab8e84caf55abad6b9
Author: Joonas Rikkonen <poe.regalis@gmail.com>
Date:   Sat Mar 23 22:28:26 2019 +0200

    Option to configure when afflictions become visible with the health scanner. Closes #1310
This commit is contained in:
Joonas Rikkonen
2019-03-24 13:50:36 +02:00
parent 77a07a95af
commit 7d6867996c
5 changed files with 12 additions and 12 deletions
@@ -940,7 +940,7 @@ namespace Barotrauma
string targetingTag = null;
if (targetCharacter != null)
{
if (targetCharacter.Submarine != null && Character.Submarine == null)
if (targetCharacter.IsDead)
{
targetingTag = "dead";
if (targetCharacter.Submarine != Character.Submarine)
@@ -1042,11 +1042,6 @@ namespace Barotrauma
valueModifier *= targetingPriorities[targetingTag].Priority;
if (targetingTag == null) continue;
if (!targetingPriorities.ContainsKey(targetingTag)) continue;
valueModifier *= targetingPriorities[targetingTag].Priority;
if (valueModifier == 0.0f) continue;
Vector2 toTarget = target.WorldPosition - character.WorldPosition;