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
commit ebd9ea579f
2 changed files with 5 additions and 1 deletions

View file

@ -5500,6 +5500,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

@ -3719,7 +3719,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
{
if (thing->type == MT_WAYPOINT)
{
if (line->flags & ML_NOCLIMB)
if (line->args[1])
{
thing->extravalue1 = 1;
}