mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
@ Fixed a bug in the BlockMap class that prevented some lines/things from being added to the blockmap
This commit is contained in:
parent
72741d82bf
commit
9d6d86936d
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ namespace CodeImp.DoomBuilder.Map
|
||||||
// This returns true when the given block is inside range
|
// This returns true when the given block is inside range
|
||||||
public bool IsInRange(Vector2D p)
|
public bool IsInRange(Vector2D p)
|
||||||
{
|
{
|
||||||
return (p.x >= range.Left) && (p.x < range.Right) && (p.y >= range.Top) && (p.x < range.Bottom);
|
return (p.x >= range.Left) && (p.x < range.Right) && (p.y >= range.Top) && (p.y < range.Bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
// This crops a point into the range
|
// This crops a point into the range
|
||||||
|
|
Loading…
Reference in a new issue