Lighting optimization (caching shadow vertices & only checking hulls in range if the position or range of the light changes), ragdoll optimization, itemcomponent optimization, dragging stunned/dead characters
This commit is contained in:
@@ -609,7 +609,7 @@ namespace Subsurface
|
||||
subBody = new SubmarineBody(this);
|
||||
|
||||
MapEntity.OnMapLoaded();
|
||||
|
||||
|
||||
foreach (Item item in Item.itemList)
|
||||
{
|
||||
foreach (ItemComponent ic in item.components)
|
||||
@@ -618,6 +618,8 @@ namespace Subsurface
|
||||
}
|
||||
}
|
||||
|
||||
GameMain.LightManager.OnMapLoaded();
|
||||
|
||||
ID = int.MaxValue-10;
|
||||
|
||||
loaded = this;
|
||||
|
||||
Reference in New Issue
Block a user