Removed redundant data from AICharacter update messages, fixed startlocation name being shown for endlocation on nav terminals

This commit is contained in:
Regalis
2016-10-31 21:01:01 +02:00
parent eb2c51c2f1
commit 9b29c52a1b
3 changed files with 7 additions and 36 deletions
@@ -531,7 +531,6 @@ namespace Barotrauma
if (GameMain.Server != null) return;
AiState newState = AiState.None;
Vector2 newWallAttackPos = Vector2.Zero;
float wanderAngle;
ushort targetID;
@@ -575,6 +574,8 @@ namespace Barotrauma
steeringManager.WanderAngle = wanderAngle;
state = newState;
if (targetID > 0) targetEntity = Entity.FindEntityByID(targetID) as IDamageable;
//updateTargetsTimer = UpdateTargetsInterval;