Set a default frontscale for visplane portals.
I don't know whether this is necessary or not but I'm poking blindly trying to fix the sorting issues for now.
This commit is contained in:
parent
8abecc7f86
commit
b22aa784fb
|
@ -201,6 +201,7 @@ static void Portal_ClipVisplane (const visplane_t* plane, portal_t* portal)
|
||||||
{
|
{
|
||||||
portal->ceilingclip[i] = plane->top[i + start];
|
portal->ceilingclip[i] = plane->top[i + start];
|
||||||
portal->floorclip[i] = plane->bottom[i + start] + 1;
|
portal->floorclip[i] = plane->bottom[i + start] + 1;
|
||||||
|
portal->frontscale[i] = INT32_MAX;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue