diff --git a/AccuracyFix/AccuracyFix.vcxproj b/AccuracyFix/AccuracyFix.vcxproj index f600ded..a4c4368 100644 --- a/AccuracyFix/AccuracyFix.vcxproj +++ b/AccuracyFix/AccuracyFix.vcxproj @@ -45,15 +45,15 @@ DynamicLibrary true - v142 MultiByte + v143 DynamicLibrary false - v142 true MultiByte + v143 diff --git a/AccuracyFix/include/cssdk/dlls/regamedll_api.h b/AccuracyFix/include/cssdk/dlls/regamedll_api.h index 762d06d..dbf5087 100644 --- a/AccuracyFix/include/cssdk/dlls/regamedll_api.h +++ b/AccuracyFix/include/cssdk/dlls/regamedll_api.h @@ -622,6 +622,10 @@ typedef IHookChainRegistry IReGameHook_CBasePlayer_PlayerDeathThink; typedef IHookChainRegistryClass IReGameHookRegistry_CBasePlayer_PlayerDeathThink; +// CBasePlayer::Observer_Think hook +typedef IHookChainClass IReGameHook_CBasePlayer_Observer_Think; +typedef IHookChainRegistryClass IReGameHookRegistry_CBasePlayer_Observer_Think; + class IReGameHookchains { public: virtual ~IReGameHookchains() {} @@ -782,6 +786,8 @@ class IReGameHookchains { virtual IReGameHookRegistry_CSGameRules_SendDeathMessage *CSGameRules_SendDeathMessage() = 0; virtual IReGameHookRegistry_CBasePlayer_PlayerDeathThink *CBasePlayer_PlayerDeathThink() = 0; + virtual IReGameHookRegistry_CBasePlayer_Observer_Think *CBasePlayer_Observer_Think() = 0; + }; struct ReGameFuncs_t {