mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 06:02:11 +00:00
Added a check to prevent a crash with overlapping resource lump ranges
This commit is contained in:
parent
08478f5e44
commit
0c5b437f64
1 changed files with 5 additions and 2 deletions
|
@ -304,10 +304,13 @@ namespace CodeImp.DoomBuilder.Data
|
|||
|
||||
// Process textures
|
||||
foreach(KeyValuePair<long, ImageData> t in texturesonly)
|
||||
{
|
||||
if(!textures.ContainsKey(t.Key))
|
||||
{
|
||||
textures.Add(t.Key, t.Value);
|
||||
texturenames.Add(t.Value.Name);
|
||||
}
|
||||
}
|
||||
|
||||
// Process flats
|
||||
foreach(KeyValuePair<long, ImageData> f in flatsonly)
|
||||
|
|
Loading…
Reference in a new issue