From 9af28321a53e74f21dadaeff1cd6efae91dcf43b Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Wed, 29 Dec 2021 23:12:46 +0100 Subject: [PATCH 1/3] Fix unadapted flag for linedef type 426 --- src/p_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_spec.c b/src/p_spec.c index 7084b8740..b5523698f 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2664,7 +2664,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) // Reset bot too. if (bot) { - if (line->flags & ML_NOCLIMB) + if (line->args[0]) P_TeleportMove(bot, mo->x, mo->y, mo->z); bot->momx = bot->momy = bot->momz = 1; bot->pmomz = 0; From 417809f78e3b32e2d109bdb9a4582dcf2ee084fe Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Fri, 31 Dec 2021 00:05:47 +0100 Subject: [PATCH 2/3] Fix typo in P_MobjTouchingSectorSpecial --- src/p_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_spec.c b/src/p_spec.c index a1eb4183c..13facd78e 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -4052,7 +4052,7 @@ sector_t *P_MobjTouchingSectorSpecial(mobj_t *mo, INT32 section, INT32 number) if (!(node->m_sector->flags & SF_TRIGGERSPECIAL_TOUCH)) continue; - if (GETSECSPECIAL(mo->subsector->sector->special, section) == number) + if (GETSECSPECIAL(node->m_sector->special, section) == number) return node->m_sector; } From ee728126df0e3a5b9575ef654e27b08332840a1c Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Fri, 31 Dec 2021 14:09:22 +0100 Subject: [PATCH 3/3] Fix oversight with linedef type 604 --- src/p_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_spec.c b/src/p_spec.c index 27c35e9f0..b87f254d2 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -6888,7 +6888,7 @@ void P_SpawnSpecials(boolean fromnetsave) case 604: // Adjustable Blinking Light sec = sides[*lines[i].sidenum].sector - sectors; - TAG_ITER_SECTORS(tag, s) + TAG_ITER_SECTORS(lines[i].args[0], s) P_SpawnAdjustableStrobeFlash(§ors[s], lines[i].args[3], (lines[i].args[4] & TMB_USETARGET) ? sectors[s].lightlevel : lines[i].args[5], lines[i].args[1], lines[i].args[2], lines[i].args[4] & TMB_SYNC);