Fix SDKCall mis-decoding int64 Address parameters
This commit is contained in:
committed by
Nicholas Hastings
parent
f5cea78b45
commit
1ed87af40c
@@ -617,12 +617,6 @@ DataStatus DecodeValveParam(IPluginContext *pContext,
|
||||
}
|
||||
case Valve_SMAddress:
|
||||
{
|
||||
if (data->decflags & VDECODE_FLAG_BYREF)
|
||||
{
|
||||
cell_t *addr;
|
||||
pContext->LocalToPhysAddr(param, &addr);
|
||||
param = *addr;
|
||||
}
|
||||
if (data->flags & PASSFLAG_ASPOINTER)
|
||||
{
|
||||
*(void **)buffer = (unsigned char *)_buffer + pCall->stackEnd + data->obj_offset;
|
||||
|
||||
Reference in New Issue
Block a user