diff --git a/src/p_spec.c b/src/p_spec.c index 8f93b84a1..2771c85f7 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -3463,7 +3463,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) INT32 promptnum = max(0, (sides[line->sidenum[0]].textureoffset>>FRACBITS)-1); INT32 pagenum = max(0, (sides[line->sidenum[0]].rowoffset>>FRACBITS)-1); - boolean closetextprompt = (line->flags & ML_EFFECT2); + boolean closetextprompt = (line->flags & ML_BLOCKMONSTERS); if (closetextprompt) F_EndTextPrompt(); @@ -3474,9 +3474,10 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) INT32 postexectag = (line->sidenum[1] != 0xFFFF) ? abs(sides[line->sidenum[1]].textureoffset>>FRACBITS) : 0; INT32 closedelay = (line->sidenum[1] != 0xFFFF) ? abs(sides[line->sidenum[1]].rowoffset>>FRACBITS) : 0; - boolean blockcontrols = !(line->flags & ML_BLOCKMONSTERS); boolean runpostexec = (line->flags & ML_EFFECT1); - boolean freezethinkers = (line->flags & ML_TFERLINE); + boolean blockcontrols = !(line->flags & ML_EFFECT2); + boolean freezetimer = !(line->flags & ML_EFFECT3); + boolean freezethinkers = (line->flags & ML_EFFECT4); // if (closetextprompt && !promptnum) // F_EndTextPrompt(closedelay, runpostexec ? postexectag : 0, mo);