mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Thing-based slope vertexes use taglists now.
This commit is contained in:
parent
9c93761bf2
commit
e0edd25fd6
2 changed files with 5 additions and 3 deletions
|
|
@ -2836,6 +2836,8 @@ static void P_ConvertBinaryMap(void)
|
||||||
switch (mapthings[i].type)
|
switch (mapthings[i].type)
|
||||||
{
|
{
|
||||||
case 750:
|
case 750:
|
||||||
|
Tag_Add(&mapthings[i].tags, mapthings[i].angle);
|
||||||
|
break;
|
||||||
case 760:
|
case 760:
|
||||||
case 761:
|
case 761:
|
||||||
case 762:
|
case 762:
|
||||||
|
|
|
||||||
|
|
@ -426,11 +426,11 @@ static pslope_t *MakeViaMapthings(INT16 tag1, INT16 tag2, INT16 tag3, UINT8 flag
|
||||||
if (mt->type != 750) // Haha, I'm hijacking the old Chaos Spawn thingtype for something!
|
if (mt->type != 750) // Haha, I'm hijacking the old Chaos Spawn thingtype for something!
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!vertices[0] && mt->tag == tag1)
|
if (!vertices[0] && Tag_Find(&mt->tags, tag1))
|
||||||
vertices[0] = mt;
|
vertices[0] = mt;
|
||||||
else if (!vertices[1] && mt->tag == tag2)
|
else if (!vertices[1] && Tag_Find(&mt->tags, tag2))
|
||||||
vertices[1] = mt;
|
vertices[1] = mt;
|
||||||
else if (!vertices[2] && mt->tag == tag3)
|
else if (!vertices[2] && Tag_Find(&mt->tags, tag3))
|
||||||
vertices[2] = mt;
|
vertices[2] = mt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue