Server job assigning logic, submarine movement syncing, submarine collision improvements, spawnpoints in levels

This commit is contained in:
Regalis
2015-07-08 11:37:47 +03:00
parent 3af9b8183b
commit d56f7f3f77
155 changed files with 39772 additions and 261 deletions
+2 -2
View File
@@ -285,7 +285,7 @@ namespace Subsurface
{
base.Move(amount);
if (itemList != null && body!=null)
if (itemList != null && body != null)
{
amount = ConvertUnits.ToSimUnits(amount);
//Vector2 pos = new Vector2(rect.X + rect.Width / 2.0f, rect.Y - rect.Height / 2.0f);
@@ -296,7 +296,7 @@ namespace Subsurface
ic.Move(amount);
}
FindHull();
if (body != null) FindHull();
}
public Rectangle TransformTrigger(Rectangle trigger)