This commit is contained in:
lenheart
2024-06-17 10:39:47 +08:00
parent 4fda831cfb
commit 3bcf73becb
146 changed files with 32142 additions and 585 deletions

View File

@@ -146,7 +146,10 @@ static SQInteger CUser_SetCharacLevel(HSQUIRRELVM v)
sq_getuserpointer(v, 2, &P);
SQInteger Value;
sq_getinteger(v, 3, &Value);
((__SetUserByInt)0x0867a95c)((void *)P, Value);
// ((__SetUserByInt)0x0867a95c)((void *)P, Value);
// void *a = malloc(100);
char *a = new char[4];
CallUser<int>(0x822FC8E, a, P, Value);
return 0;
}
static SQInteger CUser_GetCharacGrowType(HSQUIRRELVM v)