mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- allowdecals logic was nonfunctional.
This commit is contained in:
parent
25f60779fd
commit
86d7a326be
1 changed files with 6 additions and 3 deletions
|
@ -749,8 +749,11 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
|
||||||
{
|
{
|
||||||
error = true;
|
error = true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
while (sc.GetString ())
|
{
|
||||||
|
Texture(anim.BaseTexture)->bNoDecals = true;
|
||||||
|
}
|
||||||
|
while (sc.GetString())
|
||||||
{
|
{
|
||||||
if (sc.Compare ("opensound"))
|
if (sc.Compare ("opensound"))
|
||||||
{
|
{
|
||||||
|
@ -781,7 +784,7 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
|
||||||
}
|
}
|
||||||
else if (sc.Compare("allowdecals"))
|
else if (sc.Compare("allowdecals"))
|
||||||
{
|
{
|
||||||
if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true;
|
if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue