mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-21 11:20:58 +00:00
Fixed a crash when textures contain non-existing patches
This commit is contained in:
parent
cc85d10ebc
commit
3e9d86e4b3
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
// Check which columns have more than one patch
|
||||
foreach(TexturePatch p in patches)
|
||||
{
|
||||
if (patchbmps[p] == null) continue;
|
||||
if (!patchbmps.ContainsKey(p) || patchbmps[p] == null) continue;
|
||||
|
||||
bool ismaked = BitmapIsMasked(patchbmps[p]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue