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
+2 -2
View File
@@ -149,7 +149,7 @@ namespace Barotrauma
}
base.Remove();
ID = -5;
ID = ushort.MaxValue;
}
//drawing ----------------------------------------------------
@@ -635,7 +635,7 @@ namespace Barotrauma
GameMain.LightManager.OnMapLoaded();
ID = int.MaxValue-10;
ID = ushort.MaxValue-10;
loaded = this;
}