Core/Misc: Misc fixes

This commit is contained in:
hondacrx
2018-03-18 11:44:55 -04:00
parent 6ecc0ae762
commit 761af36d05
8 changed files with 28 additions and 20 deletions
@@ -326,6 +326,9 @@ namespace Game.Movement
void FormationMove(Creature creature)
{
if (path == null || path.nodes.Empty())
return;
bool transportPath = creature.GetTransport() != null;
WaypointNode waypoint = path.nodes.LookupByIndex((int)currentNode);