mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 00:11:19 +00:00
Use tag field to setup vertex slopes
This commit is contained in:
parent
261f049f6c
commit
37375972e2
2 changed files with 15 additions and 3 deletions
|
@ -2770,6 +2770,18 @@ static void P_ConvertBinaryMap(void)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < nummapthings; i++)
|
||||
{
|
||||
switch (mapthings[i].type)
|
||||
{
|
||||
case 750:
|
||||
mapthings[i].tag = mapthings[i].angle;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Compute MD5 message digest for bytes read from memory source
|
||||
|
|
|
@ -428,11 +428,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->angle == tag1)
|
||||
if (!vertices[0] && mt->tag == tag1)
|
||||
vertices[0] = mt;
|
||||
else if (!vertices[1] && mt->angle == tag2)
|
||||
else if (!vertices[1] && mt->tag == tag2)
|
||||
vertices[1] = mt;
|
||||
else if (!vertices[2] && mt->angle == tag3)
|
||||
else if (!vertices[2] && mt->tag == tag3)
|
||||
vertices[2] = mt;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue