Fixed issues with objects being destroyed underfoot.
This commit is contained in:
parent
1efe48b4d6
commit
3369c11cb9
|
@ -102,8 +102,15 @@ namespace Revitalize.Framework.Objects
|
|||
|
||||
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