Changed P_ConvertBinaryLinedefTypes to use args[1] instead of args[3] for linedef type 442

This commit is contained in:
MIDIMan 2023-08-05 20:22:11 -04:00
parent 9e72b78a24
commit d06098c0aa

View file

@ -5467,7 +5467,7 @@ static void P_ConvertBinaryLinedefTypes(void)
break;
case 442: //Change object type state
lines[i].args[0] = tag;
lines[i].args[3] = (lines[i].sidenum[1] == 0xffff) ? 1 : 0;
lines[i].args[1] = (lines[i].sidenum[1] == 0xffff) ? 1 : 0;
break;
case 443: //Call Lua function
if (lines[i].stringargs[0] == NULL)