Fix int type error

This commit is contained in:
MascaraSnake 2022-04-20 20:55:13 +02:00
parent 36bf8b1a77
commit 465327288c

View file

@ -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;