Fixed issues with objects being destroyed underfoot.
This commit is contained in:
parent
1efe48b4d6
commit
3369c11cb9
|
@ -99,11 +99,18 @@ namespace Revitalize.Framework.Objects
|
|||
|
||||
this.bigCraftable.Value = false;
|
||||
|
||||
|
||||
|
||||
if (this.info.ignoreBoundingBox)
|
||||
{
|
||||
this.boundingBox.Value = new Rectangle(Int32.MinValue, Int32.MinValue, 0, 0);
|
||||
//this.boundingBox.Value = new Rectangle(Int32.MinValue, Int32.MinValue, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override bool isPassable()
|
||||
{
|
||||
return this.info.ignoreBoundingBox;
|
||||
}
|
||||
|
||||
public override Rectangle getBoundingBox(Vector2 tileLocation)
|
||||
|
|
Loading…
Reference in New Issue