FINISHTIME, FINISHTIMEEXACT, FINISHTIMELEFT: use get_number for parameter

Lets you use 2*TICRATE for instance, to represent
2 seconds.
This commit is contained in:
James R 2023-03-18 04:46:59 -07:00
parent a08c0d478c
commit 8d78e798a8

View file

@ -2719,7 +2719,7 @@ static void readcondition(UINT8 set, UINT32 id, char *word2)
{
PARAMCHECK(1);
ty = UCRP_FINISHTIME + offset;
re = atoi(params[1]);
re = get_number(params[1]);
if (re < 0)
{