RegEx, FindPickable & DrawShadows optimization

This commit is contained in:
Regalis
2015-09-27 17:02:15 +03:00
parent c8ee9e085f
commit 97c3ac1412
8 changed files with 124 additions and 91 deletions
+3 -5
View File
@@ -225,7 +225,7 @@ namespace Subsurface
}
}
dummyCharacter.ControlLocalPlayer(cam, false);
dummyCharacter.ControlLocalPlayer((float)deltaTime, cam);
dummyCharacter.Control((float)deltaTime, cam);
}
else
@@ -287,6 +287,8 @@ namespace Subsurface
{
if (dummyCharacter != null)
{
dummyCharacter.AnimController.FindHull();
foreach (Item item in dummyCharacter.SelectedItems)
{
if (item == null) continue;
@@ -311,10 +313,6 @@ namespace Subsurface
if (PlayerInput.GetMouseState.LeftButton != ButtonState.Pressed)
{
//if (Inventory.draggingItem!=null)
//{
// Inventory.draggingItem.see
//}
Inventory.draggingItem = null;
}
}