mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-16 17:11:28 +00:00
Sound Propagation Mode: fixed a crash when things were outside the map's geometry bounding box. Fixes #975
This commit is contained in:
parent
af44086979
commit
55725bd2bb
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ namespace CodeImp.DoomBuilder.SoundPropagationMode
|
|||
private void CreateBlockmap()
|
||||
{
|
||||
RectangleF area = MapSet.CreateArea(General.Map.Map.Vertices);
|
||||
area = MapSet.IncreaseArea(area, General.Map.Map.Things);
|
||||
blockmap = new BlockMap<BlockEntry>(area);
|
||||
blockmap.AddLinedefsSet(General.Map.Map.Linedefs);
|
||||
blockmap.AddSectorsSet(General.Map.Map.Sectors);
|
||||
|
|
Loading…
Reference in a new issue