mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-17 01:21:18 +00:00
Thing-based slope vertexes use taglists now.
This commit is contained in:
parent
944716c45a
commit
81be6b4067
2 changed files with 5 additions and 3 deletions
|
@ -2836,6 +2836,8 @@ static void P_ConvertBinaryMap(void)
|
|||
switch (mapthings[i].type)
|
||||
{
|
||||
case 750:
|
||||
Tag_Add(&mapthings[i].tags, mapthings[i].angle);
|
||||
break;
|
||||
case 760:
|
||||
case 761:
|
||||
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!
|
||||
continue;
|
||||
|
||||
if (!vertices[0] && mt->tag == tag1)
|
||||
if (!vertices[0] && Tag_Find(&mt->tags, tag1))
|
||||
vertices[0] = mt;
|
||||
else if (!vertices[1] && mt->tag == tag2)
|
||||
else if (!vertices[1] && Tag_Find(&mt->tags, tag2))
|
||||
vertices[1] = mt;
|
||||
else if (!vertices[2] && mt->tag == tag3)
|
||||
else if (!vertices[2] && Tag_Find(&mt->tags, tag3))
|
||||
vertices[2] = mt;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue