mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +00:00
fixed a bug that sometimes caused a new drawn inner sector to be missing back references to its parent sector
This commit is contained in:
parent
52d54ba473
commit
7b744e730a
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ namespace CodeImp.DoomBuilder.Geometry
|
|||
{
|
||||
// Inside the polygon bounding box?
|
||||
if((v.Position.x >= bbox.Left) && (v.Position.x <= bbox.Right) &&
|
||||
(v.Position.x >= bbox.Top) && (v.Position.x <= bbox.Bottom))
|
||||
(v.Position.y >= bbox.Top) && (v.Position.y <= bbox.Bottom))
|
||||
{
|
||||
// More to the right?
|
||||
if((foundv == null) || (v.Position.x >= foundv.Position.x))
|
||||
|
|
Loading…
Reference in a new issue