Merged revision 3258 from 1.77; forward_return with non-string values

This commit is contained in:
Steve Dudenhoeffer
2007-01-26 06:08:29 +00:00
parent 7a01503478
commit 35fcca8a66
2 changed files with 7 additions and 6 deletions

View File

@ -57,12 +57,12 @@ static cell AMX_NATIVE_CALL fm_return(AMX *amx, cell *params)
}
case FMV_FLOAT:
{
mFloatResult = amx_ctof(params[2]);
mFloatResult = amx_ctof(*(MF_GetAmxAddr(amx,params[2])));
break;
}
case FMV_CELL:
{
mCellResult = params[2];
mCellResult = *(MF_GetAmxAddr(amx,params[2]));
break;
}
default: