Why Does this use args2

This commit is contained in:
NepDisk 2025-04-26 08:34:36 -04:00
parent a1e4263429
commit b1268b7a52

View file

@ -217,9 +217,12 @@ 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 (mapnamespace == MNS_SRB2KART)
po->translucency = max(min(line->args[1], NUMTRANSMAPS), 0);
else
po->translucency = max(min(line->args[2], NUMTRANSMAPS), 0);
if (udmf)
if (mapnamespace != MNS_SRB2KART)
{
po->flags = POF_SOLID|POF_TESTHEIGHT|POF_RENDERSIDES|POF_RENDERPLANES;