From 25f60779fdf907dbe628ad00a572777d73ff3ce9 Mon Sep 17 00:00:00 2001
From: Christoph Oelckers <coelckers@zdoom.fake>
Date: Sun, 1 Dec 2013 20:20:26 +0100
Subject: [PATCH] - fixed: The 'allowdecals' check in animated doors was wrong.

---
 src/textures/animations.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/textures/animations.cpp b/src/textures/animations.cpp
index 13413ae70..e35550d51 100644
--- a/src/textures/animations.cpp
+++ b/src/textures/animations.cpp
@@ -779,7 +779,7 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
 			}
 			frames.Push(v);
 		}
-		else if (!sc.Compare("allowdecals"))
+		else if (sc.Compare("allowdecals"))
 		{
 			if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true;
 		}