From 1322d9277344a70db159cad28c310778288958ef Mon Sep 17 00:00:00 2001 From: a1batross Date: Sun, 7 Feb 2016 22:16:39 +0600 Subject: [PATCH] Enable hack from d0f8b49 --- cl_dll/include/events.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cl_dll/include/events.h b/cl_dll/include/events.h index 106345c..7fd033c 100644 --- a/cl_dll/include/events.h +++ b/cl_dll/include/events.h @@ -62,6 +62,9 @@ void VectorAngles( const float *forward, float *angles ); #define DECLARE_EVENT( x ) void EV_##x( struct event_args_s *args ) #define HOOK_EVENT( x, y ) gEngfuncs.pfnHookEvent( "events/" #x ".sc", EV_##y ) +// enable it until fix isn't applied in Xash3D +#define _CS16CLIENT_FIX_EVENT_ORIGIN + extern "C" { DECLARE_EVENT(FireAK47);