Merge branch 'fix-linedef-type-466' into 'next'

Fix Linedef type 466

Closes #1246

See merge request STJr/SRB2!2453
This commit is contained in:
sphere 2024-05-22 11:21:42 +00:00
commit 593ffd2435

View file

@ -3684,7 +3684,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
case 466: // Set level failure state case 466: // Set level failure state
{ {
if (line->args[1]) if (line->args[0])
{ {
stagefailed = false; stagefailed = false;
CONS_Debug(DBG_GAMELOGIC, "Stage can be completed successfully!\n"); CONS_Debug(DBG_GAMELOGIC, "Stage can be completed successfully!\n");