Networking optimization/bugfixes (hull water volumes & wall damage are synced, more reliable inventory updates, AICharacter sync changes), proper particle collisions with walls

This commit is contained in:
Regalis
2015-09-25 18:56:39 +03:00
parent 3587b4a4bb
commit 53e729ea11
27 changed files with 50344 additions and 273 deletions

View File

@@ -417,7 +417,7 @@ int currentTargetIndex = 1;
}
if (allowedEdges.Count==0)
{
edgeIndex = 0;
edgeIndex = rand.Next() % currentCell.edges.Count;
}
else
{