Merge branch 'fix-499' into 'master'

Fix linedef type 499 binary->UDMF conversion

See merge request KartKrew/Kart!787
This commit is contained in:
James R 2022-11-27 22:14:22 +00:00 committed by NepDisk
parent bde5121408
commit ac7ed30a4c
2 changed files with 5 additions and 1 deletions

View file

@ -5887,6 +5887,10 @@ static void P_ConvertBinaryLinedefTypes(void)
if (lines[i].flags & ML_SKEWTD)
lines[i].args[3] |= TMPF_GHOSTFADE;
break;
case 499: //Ring Racers - Toggle waypoints
lines[i].args[0] = tag;
lines[i].args[1] = !!(lines[i].flags & ML_NOCLIMB);
break;
case 500: //Scroll front wall left
case 501: //Scroll front wall right
lines[i].args[0] = 0;

View file

@ -4150,7 +4150,7 @@ boolean P_ProcessSpecial(activator_t *activator, INT16 special, INT32 *args, cha
{
if (thing->type == MT_WAYPOINT)
{
if (line->flags & ML_NOCLIMB)
if (line->args[1])
{
thing->extravalue1 = 1;
}