From 465327288c7be322bb71014693dac1d3e05754f5 Mon Sep 17 00:00:00 2001 From: MascaraSnake <jonassauer27@gmail.com> Date: Wed, 20 Apr 2022 20:55:13 +0200 Subject: [PATCH] Fix int type error --- 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 1ce965da9..d2f032c43 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2780,7 +2780,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) if (mo && mo->player) { powertype_t power = line->stringargs[0] ? get_number(line->stringargs[0]) : 0; - UINT16 value = line->stringargs[1] ? get_number(line->stringargs[1]) : 0; + INT32 value = line->stringargs[1] ? get_number(line->stringargs[1]) : 0; if (value == -1) // 'Infinite' value = UINT16_MAX;