Welding tool, plasma cutter & misc item fixes/improvements

This commit is contained in:
Regalis
2015-06-10 01:13:34 +03:00
parent d7fde606e9
commit 270efd77e0
32 changed files with 275 additions and 95 deletions
+2 -2
View File
@@ -162,7 +162,7 @@ namespace Subsurface.Items.Components
{
base.Draw(spriteBatch);
if (hideItems) return;
if (hideItems || (item.body!=null && !item.body.Enabled)) return;
Vector2 transformedItemPos = itemPos;
Vector2 transformedItemInterval = itemInterval;
@@ -175,7 +175,7 @@ namespace Subsurface.Items.Components
}
else
{
item.body.Enabled = true;
//item.body.Enabled = true;
Matrix transform = Matrix.CreateRotationZ(item.body.Rotation);