From 852040540c848255756bbc772c0d3ee96066276f Mon Sep 17 00:00:00 2001 From: zaCade Date: Fri, 10 May 2019 16:33:41 +0200 Subject: [PATCH] Fix some include stuff. Whoops, thank george for spotting one of them. --- _entWatch4/scripting/include/entWatch_core.inc | 1 + _entWatch4/scripting/include/entWatch_restrictions.inc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_entWatch4/scripting/include/entWatch_core.inc b/_entWatch4/scripting/include/entWatch_core.inc index 7444bddd..147b91b7 100644 --- a/_entWatch4/scripting/include/entWatch_core.inc +++ b/_entWatch4/scripting/include/entWatch_core.inc @@ -43,6 +43,7 @@ public SharedPlugin __pl_entWatch_core = public void __pl_entWatch_core_SetNTVOptional() { MarkNativeAsOptional("EW_GetItemCount"); + MarkNativeAsOptional("EW_GetItemData"); } #endif diff --git a/_entWatch4/scripting/include/entWatch_restrictions.inc b/_entWatch4/scripting/include/entWatch_restrictions.inc index cf6569e7..649efc99 100644 --- a/_entWatch4/scripting/include/entWatch_restrictions.inc +++ b/_entWatch4/scripting/include/entWatch_restrictions.inc @@ -4,7 +4,7 @@ #define entWatch_restrictions_included -public SharedPlugin __pl_entWatch_core = +public SharedPlugin __pl_entWatch_restrictions = { name = "entWatch-restrictions", file = "entWatch-restrictions.smx", @@ -17,7 +17,7 @@ public SharedPlugin __pl_entWatch_core = }; #if !defined REQUIRE_PLUGIN - public void __pl_entWatch_core_SetNTVOptional() + public void __pl_entWatch_restrictions_SetNTVOptional() { MarkNativeAsOptional("EW_ClientRestrict"); MarkNativeAsOptional("EW_ClientUnrestrict");