diff --git a/src/textures/animations.cpp b/src/textures/animations.cpp index e35550d51..433baa874 100644 --- a/src/textures/animations.cpp +++ b/src/textures/animations.cpp @@ -749,8 +749,11 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc) { error = true; } - - while (sc.GetString ()) + else + { + Texture(anim.BaseTexture)->bNoDecals = true; + } + while (sc.GetString()) { if (sc.Compare ("opensound")) { @@ -781,7 +784,7 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc) } else if (sc.Compare("allowdecals")) { - if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true; + if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = false; } else {