Skip to content

Linedef type 466 uses the wrong argument

p_setup.c:

case 466: //Set level failure state
	lines[i].args[0] = !!(lines[i].flags & ML_NOCLIMB);
	break;

p_spec.c:

case 466: // Set level failure state
	{
		if (line->args[1])
		{
			stagefailed = false;
			CONS_Debug(DBG_GAMELOGIC, "Stage can be completed successfully!\n");
		}
		else
		{
			stagefailed = true;
			CONS_Debug(DBG_GAMELOGIC, "Stage will end in failure...\n");
		}
	}
	break;