mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix PolyObject flags not being applied when there is no parameter line
This commit is contained in:
parent
b3f81349ae
commit
34c55acf48
1 changed files with 2 additions and 2 deletions
|
|
@ -210,6 +210,8 @@ static void Polyobj_GetInfo(polyobj_t *po)
|
|||
{
|
||||
INT32 i = P_FindSpecialLineFromTag(POLYINFO_SPECIALNUM, po->id, -1);
|
||||
|
||||
po->flags = POF_SOLID|POF_TESTHEIGHT|POF_RENDERSIDES;
|
||||
|
||||
if (i == -1)
|
||||
return; // no extra settings to apply, let's leave it
|
||||
|
||||
|
|
@ -223,8 +225,6 @@ static void Polyobj_GetInfo(polyobj_t *po)
|
|||
|
||||
po->translucency = max(min(po->translucency, NUMTRANSMAPS), 0);
|
||||
|
||||
po->flags = POF_SOLID|POF_TESTHEIGHT|POF_RENDERSIDES;
|
||||
|
||||
if (lines[i].flags & ML_EFFECT1)
|
||||
po->flags |= POF_ONESIDE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue