mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 13:51:31 +00:00
Okay, now vertex slopes aren't placement-order-dependent any more. Hopefully this is the best way to handle things.
This commit is contained in:
parent
d998ddfae4
commit
d4d44777f4
1 changed files with 8 additions and 0 deletions
|
@ -546,9 +546,17 @@ static pslope_t *P_NewVertexSlope(INT16 tag1, INT16 tag2, INT16 tag3, UINT8 flag
|
|||
continue;
|
||||
|
||||
if (!ret->vertices[0] && mt->angle == tag1)
|
||||
{
|
||||
ret->vertices[0] = mt;
|
||||
mt = mapthings;
|
||||
i = 0;
|
||||
}
|
||||
else if (!ret->vertices[1] && mt->angle == tag2)
|
||||
{
|
||||
ret->vertices[1] = mt;
|
||||
mt = mapthings;
|
||||
i = 0;
|
||||
}
|
||||
else if (!ret->vertices[2] && mt->angle == tag3)
|
||||
ret->vertices[2] = mt;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue