Why Does this use args2
This commit is contained in:
parent
a1e4263429
commit
b1268b7a52
1 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue