- fixed placement and handling of 'allowdecals' for animated doors.

This commit is contained in:
Christoph Oelckers 2013-12-01 15:11:41 +01:00
parent a89ecdad50
commit c5b2c95572
1 changed files with 4 additions and 5 deletions

View File

@ -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
{