mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed: animated door textures defined by index were not added to the sequence.
- fixed: animated doors should set 'no decals' for the texture. - added 'allowdecals' option to override the above.
This commit is contained in:
parent
698495efc5
commit
7e062f394b
1 changed files with 6 additions and 1 deletions
|
@ -776,8 +776,13 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
|
|||
{
|
||||
sc.ScriptError ("Unknown texture %s", sc.String);
|
||||
}
|
||||
frames.Push (v);
|
||||
}
|
||||
frames.Push(v);
|
||||
if (!sc.CheckString("allowdecals"))
|
||||
{
|
||||
Texture(v)->bNoDecals = true;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue