From 7e062f394b11c300b77cc04fe94aa2cab7b0d434 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 1 Dec 2013 01:26:30 +0100 Subject: [PATCH] - 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. --- src/textures/animations.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/textures/animations.cpp b/src/textures/animations.cpp index 5a6f0729a..09518cd5e 100644 --- a/src/textures/animations.cpp +++ b/src/textures/animations.cpp @@ -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 {