Fix va_arg in getareausers (#7108)
This commit is contained in:
parent
b2feb2e9b0
commit
ca740549e2
@ -11720,7 +11720,8 @@ static int buildin_getareausers_sub(struct block_list *bl,va_list ap)
|
|||||||
BUILDIN_FUNC(getareausers)
|
BUILDIN_FUNC(getareausers)
|
||||||
{
|
{
|
||||||
const char *str;
|
const char *str;
|
||||||
int16 m,x0,y0,x1,y1,users=0; //doubt we can have more then 32k users on
|
int16 m,x0,y0,x1,y1;
|
||||||
|
int users = 0;
|
||||||
str=script_getstr(st,2);
|
str=script_getstr(st,2);
|
||||||
x0=script_getnum(st,3);
|
x0=script_getnum(st,3);
|
||||||
y0=script_getnum(st,4);
|
y0=script_getnum(st,4);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user