mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-24 21:01:33 +00:00
Fixed a crash when the loaded resources contained a flat with the same name as an internal sprite. Fixes #1071
This commit is contained in:
parent
de8066d14f
commit
11f864bb6e
1 changed files with 1 additions and 1 deletions
|
@ -1564,7 +1564,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
foreach(string spritefile in files)
|
||||
{
|
||||
ImageData img = new FileImage(Path.GetFileNameWithoutExtension(spritefile).ToLowerInvariant(), spritefile);
|
||||
img.LoadImageNow();
|
||||
img.LoadImageNow(false);
|
||||
img.AllowUnload = false;
|
||||
name = INTERNAL_PREFIX + img.Name;
|
||||
long hash = Lump.MakeLongName(name, true); //mxd
|
||||
|
|
Loading…
Reference in a new issue