More linux fixes
This commit is contained in:
parent
b365b775c9
commit
462d9b99b7
@ -582,7 +582,7 @@ HookParamsStruct *CDynamicHooksSourcePawn::GetParamStruct()
|
||||
memcpy(params->orgParams, pArgPtr, stackSize);
|
||||
}
|
||||
|
||||
memset(params->newParams, NULL, paramsSize);
|
||||
memset(params->newParams, 0, paramsSize);
|
||||
memset(params->isChanged, false, numArgs * sizeof(bool));
|
||||
|
||||
int firstArg = 0;
|
||||
|
@ -24,7 +24,7 @@ public:
|
||||
CDynamicHooksSourcePawn(HookSetup *setup, CHook *pDetour, IPluginFunction *pCallback, bool post);
|
||||
|
||||
HookReturnStruct *GetReturnStruct();
|
||||
HookParamsStruct *CDynamicHooksSourcePawn::GetParamStruct();
|
||||
HookParamsStruct *GetParamStruct();
|
||||
void UpdateParamsFromStruct(HookParamsStruct *params);
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user