This commit is contained in:
lenheart 2024-06-16 20:13:56 +08:00
parent dbcdf6689a
commit c273e5c185
1 changed files with 2 additions and 1 deletions

View File

@ -444,7 +444,8 @@ static SQInteger CUser_RechargeMoney(HSQUIRRELVM v)
sq_getuserpointer(v, 2, &User);
SQInteger Amount;
sq_getinteger(v, 3, &Amount);
CallUser<int>(0x84FF29C, User, Amount, 0, 0, 0);
CallUser<int>(0x84FF29C, CallUser<void *>(0x80DA28E, User), Amount, 0, 0, 0);
return 0;
}