- fixed: The 'allowdecals' check in animated doors was wrong.

This commit is contained in:
Christoph Oelckers 2013-12-01 20:20:26 +01:00
parent 8b92597508
commit 25f60779fd

View file

@ -779,7 +779,7 @@ void FTextureManager::ParseAnimatedDoor(FScanner &sc)
} }
frames.Push(v); frames.Push(v);
} }
else if (!sc.Compare("allowdecals")) else if (sc.Compare("allowdecals"))
{ {
if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true; if (anim.BaseTexture.Exists()) Texture(anim.BaseTexture)->bNoDecals = true;
} }