From 500c5a4609eca320e51df90e0a05f6e0885216c8 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Mon, 6 Jan 2025 14:53:49 -0500 Subject: [PATCH] Polyobject transparency issuse quote on quote fix The setup code for this confuses me. why is transparency set twice? --- src/p_polyobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_polyobj.c b/src/p_polyobj.c index a65885f16..ae73fd31f 100644 --- a/src/p_polyobj.c +++ b/src/p_polyobj.c @@ -217,7 +217,8 @@ static void Polyobj_GetInfo(polyobj_t *po, line_t *line) if (po->parent == po->id) // do not allow a self-reference po->parent = -1; - po->translucency = max(min(line->args[2], NUMTRANSMAPS), 0); + if (udmf) + po->translucency = max(min(line->args[2], NUMTRANSMAPS), 0); if (udmf) {