mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
Fix int type error
This commit is contained in:
parent
36bf8b1a77
commit
465327288c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue