Fix linedef 499 conversion

This commit is contained in:
Sally Coolatta 2022-11-27 02:57:48 -05:00
parent 340d3d53fb
commit 05e74c3e9d
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;
}