This commit is contained in:
Christoph Oelckers 2013-12-01 21:11:52 +01:00
commit 7ba0f2467a

View file

@ -749,7 +749,10 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
{ {
error = true; error = true;
} }
else
{
Texture(anim.BaseTexture)->bNoDecals = true;
}
while (sc.GetString()) 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
{ {