fixed railgun, fixed repairtools radar ping & improved rendering, waypoint bugfixes, inventory bugfixes, syncing wires between clients

This commit is contained in:
Regalis
2015-07-15 23:34:13 +03:00
parent 44b9a63c94
commit 237df18765
39 changed files with 461 additions and 405 deletions
+7 -1
View File
@@ -25,6 +25,12 @@ namespace Subsurface
this.character = character;
}
protected override void DropItem(Item item)
{
item.Drop(character);
item.body.SetTransform(character.SimPosition, 0.0f);
}
public int FindLimbSlot(LimbSlot limbSlot)
{
for (int i = 0; i < items.Length; i++)
@@ -232,7 +238,7 @@ namespace Subsurface
else
{
draggingItem.body.SetTransform(character.SimPosition, 0.0f);
draggingItem.Drop(character);
DropItem(draggingItem);
//draggingItem = null;
}
}