diff --git a/CentrED/Tools/DrawTool.cs b/CentrED/Tools/DrawTool.cs index 49c1149..2f7639e 100644 --- a/CentrED/Tools/DrawTool.cs +++ b/CentrED/Tools/DrawTool.cs @@ -104,7 +104,10 @@ protected override void GhostApply(TileObject? o) { if (o is StaticObject) { - return; + if (MapManager.CanDrawStatic((StaticObject)o)) + { + return; + } } else if(o is VirtualLayerTile) { @@ -115,7 +118,10 @@ protected override void GhostApply(TileObject? o) { if (so2.StaticTile.Z == o.Tile.Z) { - return; + if (MapManager.CanDrawStatic((StaticObject)so2)) + { + return; + } } } }