Polyobject transparency issuse quote on quote fix

The setup code for this confuses me. why is transparency set twice?
This commit is contained in:
NepDisk 2025-01-06 14:53:49 -05:00
parent 0941cbe8db
commit 500c5a4609

View file

@ -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)
{