mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed placement and handling of 'allowdecals' for animated doors.
This commit is contained in:
parent
a89ecdad50
commit
c5b2c95572
1 changed files with 4 additions and 5 deletions
|
@ -778,11 +778,10 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
|
|||
}
|
||||
}
|
||||
frames.Push(v);
|
||||
if (!sc.CheckString("allowdecals"))
|
||||
{
|
||||
Texture(v)->bNoDecals = true;
|
||||
}
|
||||
|
||||
}
|
||||
else if (!sc.Compare("allowdecals"))
|
||||
{
|
||||
if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue