diff --git a/src/textures/animations.cpp b/src/textures/animations.cpp index 09518cd5e..13413ae70 100644 --- a/src/textures/animations.cpp +++ b/src/textures/animations.cpp @@ -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 {