Undo last change and change cell cast to unsigned char.

This commit is contained in:
Arkshine
2014-05-27 15:15:56 +02:00
parent 90c4fc1db1
commit f5a5d8f8e7
3 changed files with 4 additions and 4 deletions

View File

@ -4019,7 +4019,7 @@ static cell AMX_NATIVE_CALL callfunc_push_str(AMX *amx, cell *params)
// copy it to the allocated memory
// we assume it's unpacked
// :NOTE: 4th parameter use_wchar since Small Abstract Machine 2.5.0
amx_SetStringOld(phys_addr, str, 0, 1);
amx_SetStringOld(phys_addr, str, 0, 0);
// push the address and set the reference flag so that memory is released after function call.
g_CallFunc_ParamInfo[g_CallFunc_CurParam].flags = CALLFUNC_FLAG_BYREF;