- fixed: animated door textures defined by index were not added to the sequence.

- fixed: animated doors should set 'no decals' for the texture.
- added 'allowdecals' option to override the above.
This commit is contained in:
Christoph Oelckers 2013-12-01 01:26:30 +01:00
parent 698495efc5
commit 7e062f394b
1 changed files with 6 additions and 1 deletions

View File

@ -776,8 +776,13 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
{
sc.ScriptError ("Unknown texture %s", sc.String);
}
frames.Push (v);
}
frames.Push(v);
if (!sc.CheckString("allowdecals"))
{
Texture(v)->bNoDecals = true;
}
}
else
{