From 4d743c0d494ff6e3e14e4b879b63f490c90d635b Mon Sep 17 00:00:00 2001 From: Dr!fter Date: Tue, 30 Aug 2016 11:00:26 -0400 Subject: [PATCH] Fix test plugin. --- sourcemod/scripting/dhooks-test.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcemod/scripting/dhooks-test.sp b/sourcemod/scripting/dhooks-test.sp index a5bda22..da7c434 100644 --- a/sourcemod/scripting/dhooks-test.sp +++ b/sourcemod/scripting/dhooks-test.sp @@ -74,7 +74,7 @@ public OnPluginStart() DHookAddParam(hAcceptInput, HookParamType_CharPtr); DHookAddParam(hAcceptInput, HookParamType_CBaseEntity); DHookAddParam(hAcceptInput, HookParamType_CBaseEntity); - DHookAddParam(hAcceptInput, HookParamType_Object, 20); //varaint_t is a union of 12 (float[3]) plus two int type params 12 + 8 = 20 + DHookAddParam(hAcceptInput, HookParamType_Object, 20, DHookPass_ByVal|DHookPass_ODTOR|DHookPass_OCTOR|DHookPass_OASSIGNOP); //varaint_t is a union of 12 (float[3]) plus two int type params 12 + 8 = 20 DHookAddParam(hAcceptInput, HookParamType_Int); offset = GameConfGetOffset(temp, "GetMaxPlayerSpeed");