From 63eafff5fe2ab064af45597985ff2c98071546cb Mon Sep 17 00:00:00 2001 From: MascaraSnake Date: Sat, 26 Jun 2021 14:53:14 +0200 Subject: [PATCH] Linedef type 403: Don't run the linedef executor twice --- src/p_ceilng.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_ceilng.c b/src/p_ceilng.c index 02dea243e..05973dfa8 100644 --- a/src/p_ceilng.c +++ b/src/p_ceilng.c @@ -261,7 +261,8 @@ INT32 EV_DoCeiling(mtag_t tag, line_t *line, ceiling_e type) // chained linedef executing ability // only set it on ONE of the moving sectors (the smallest numbered) - if (line->args[3] > 0) + // only set it if there isn't also a floor mover + if (line->args[3] > 0 && line->args[1] == 1) ceiling->texture = firstone ? line->args[3] - INT16_MAX - 2 : -1; // flat changing ability else if (line->args[4])