From adfea8ade8c67d622aae073d0fcb43f584e9d998 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Tue, 16 Oct 2007 22:32:26 +0000 Subject: [PATCH] prepared sdktools base natives for OB port --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401602 --- extensions/sdktools/vnatives.cpp | 4 ++++ gamedata/sdktools.games.txt | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index b4d0073a..a908ffdb 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -760,7 +760,11 @@ static cell_t DispatchKeyValueVector(IPluginContext *pContext, const cell_t *par { ValvePassInfo pass[3]; InitPass(pass[0], Valve_String, PassType_Basic, PASSFLAG_BYVAL); +#if defined ORANGEBOX_BUILD + InitPass(pass[1], Valve_Vector, PassType_Basic, PASSFLAG_BYVAL); +#else InitPass(pass[1], Valve_Vector, PassType_Object, PASSFLAG_BYVAL|PASSFLAG_OCTOR|PASSFLAG_OASSIGNOP); +#endif InitPass(pass[2], Valve_Bool, PassType_Basic, PASSFLAG_BYVAL); if (!CreateBaseCall("DispatchKeyValueVector", ValveCall_Entity, &pass[2], pass, 2, &pCall)) { diff --git a/gamedata/sdktools.games.txt b/gamedata/sdktools.games.txt index 51cd12a4..78507565 100644 --- a/gamedata/sdktools.games.txt +++ b/gamedata/sdktools.games.txt @@ -627,7 +627,6 @@ "s_pTempEntities" { "windows" "70" - "linux" "29" } }