mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Fix int type error
This commit is contained in:
parent
863b1e125a
commit
d400a7186a
1 changed files with 1 additions and 1 deletions
|
@ -2724,7 +2724,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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue