mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +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);
|
frames.Push(v);
|
||||||
if (!sc.CheckString("allowdecals"))
|
}
|
||||||
{
|
else if (!sc.Compare("allowdecals"))
|
||||||
Texture(v)->bNoDecals = true;
|
{
|
||||||
}
|
if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue