mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
Ignore TNT1A0 sprite in DECORATE actors
This commit is contained in:
parent
c8949c42bf
commit
61269dfae5
1 changed files with 8 additions and 1 deletions
|
@ -34,7 +34,10 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
public sealed class StateStructure
|
||||
{
|
||||
#region ================== Constants
|
||||
|
||||
|
||||
// Some odd thing in ZDoom
|
||||
private const string IGNORE_SPRITE = "TNT1A0";
|
||||
|
||||
#endregion
|
||||
|
||||
#region ================== Variables
|
||||
|
@ -121,6 +124,10 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
// Make the sprite name
|
||||
firstsprite = token + spriteframes[0];
|
||||
firstsprite = firstsprite.ToUpperInvariant();
|
||||
|
||||
// Ignore some odd ZDoom thing
|
||||
if(IGNORE_SPRITE.StartsWith(firstsprite))
|
||||
firstsprite = null;
|
||||
}
|
||||
|
||||
// Continue until the end of the line
|
||||
|
|
Loading…
Reference in a new issue