mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
Fixed a problem where sprites with 16 rotations defined in the TEXTURES lump would not be handled correctly (they are still not displayed with 16 rotations, but don't throw an error anymore)
This commit is contained in:
parent
23c4325f96
commit
3ae5b1e27d
1 changed files with 3 additions and 1 deletions
|
@ -1381,7 +1381,9 @@ namespace CodeImp.DoomBuilder.Data
|
|||
}
|
||||
|
||||
//mxd. Add sprites from sprites collection (because GetSpriteNames() doesn't return TEXTURES sprites)
|
||||
foreach(ImageData data in sprites.Values) spritenames.Add(data.Name);
|
||||
foreach(ImageData data in sprites.Values)
|
||||
if(WADReader.IsValidSpriteName(data.Name))
|
||||
spritenames.Add(data.Name);
|
||||
|
||||
//mxd. Get names of all voxel models, which can be used "as is" (these do not require corresponding sprite to work)
|
||||
HashSet<string> voxelnames = new HashSet<string>(StringComparer.Ordinal);
|
||||
|
|
Loading…
Reference in a new issue