From 76c6b6f24f171a9f68a5a146d9741961edd531be Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Mon, 20 Sep 2021 15:07:08 +0200 Subject: [PATCH] Forgot to adapt half of linedef type 449 --- src/p_spec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/p_spec.c b/src/p_spec.c index 135670720..efc5bc868 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -6776,15 +6776,15 @@ void P_SpawnSpecials(boolean fromnetsave) case 449: // Enable bosses with parameter { - INT32 bossid = sides[*lines[i].sidenum].textureoffset>>FRACBITS; + INT32 bossid = lines[i].args[0]; if (bossid & ~15) // if any bits other than first 16 are set { CONS_Alert(CONS_WARNING, - M_GetText("Boss enable linedef (tag %d) has an invalid texture x offset.\nConsider changing it or removing it entirely.\n"), - tag); + M_GetText("Boss enable linedef has an invalid boss ID (%d).\nConsider changing it or removing it entirely.\n"), + bossid); break; } - if (!(lines[i].flags & ML_NOCLIMB)) + if (!(lines[i].args[1])) { bossdisabled |= (1<