- fixed placement and handling of 'allowdecals' for animated doors.

This commit is contained in:
Christoph Oelckers 2013-12-01 15:11:41 +01:00
parent a89ecdad50
commit c5b2c95572

View file

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