From df9a745c04ef9f3b1b567cf0c4c8069f626569f3 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 17 Jun 2007 05:19:55 +0000 Subject: [PATCH] fixed a bug where this parameter was not marked VDECODE_FLAG_BYREF for SDKCall() --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40973 --- extensions/sdktools/vcaller.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/sdktools/vcaller.cpp b/extensions/sdktools/vcaller.cpp index ed8dfcf0..2f008084 100644 --- a/extensions/sdktools/vcaller.cpp +++ b/extensions/sdktools/vcaller.cpp @@ -186,6 +186,8 @@ static cell_t EndPrepSDKCall(IPluginContext *pContext, const cell_t *params) vc = CreateValveCall(s_call_addr, s_vcalltype, s_has_return ? &s_return : NULL, s_params, s_numparams); } + vc->thisinfo->decflags |= VDECODE_FLAG_BYREF; + if (!vc) { return BAD_HANDLE;