Changed entity ids from int to ushort, inventory sync bugfixes

This commit is contained in:
Regalis
2015-10-21 18:58:36 +03:00
parent 0233579e37
commit 313d16d886
20 changed files with 155 additions and 78 deletions
+1 -1
View File
@@ -1101,7 +1101,7 @@ namespace Barotrauma
}
Item item = new Item(rect, ip);
item.ID = int.Parse(element.Attribute("ID").Value);
item.ID = (ushort)int.Parse(element.Attribute("ID").Value);
item.linkedToID = new List<int>();