diff --git a/AccuracyFix/AccuracyFix.h b/AccuracyFix/AccuracyFix.h index 8f3daf1..38cde74 100644 --- a/AccuracyFix/AccuracyFix.h +++ b/AccuracyFix/AccuracyFix.h @@ -12,18 +12,13 @@ class CAccuracyFix { public: void ServerActivate(); - - void CmdEnd(const edict_t* pEdict); void TraceLine(const float* vStart, const float* vEnd, int fNoMonsters, edict_t* pentToSkip, TraceResult* ptr); - void PostThink(CBasePlayer* Player); private: cvar_t* m_af_distance_all; - std::array m_af_distance; - + cvar_t* m_af_distance[MAX_WEAPONS + 1]; cvar_t* m_af_accuracy_all; - std::array m_af_accuracy; - + cvar_t* m_af_accuracy[MAX_WEAPONS + 1]; cvar_t* m_af_jump_fix; }; diff --git a/AccuracyFix/MetaDLL.cpp b/AccuracyFix/MetaDLL.cpp index 8cb7c9d..156dc40 100644 --- a/AccuracyFix/MetaDLL.cpp +++ b/AccuracyFix/MetaDLL.cpp @@ -11,7 +11,6 @@ C_DLLEXPORT int GetEntityAPI2(DLL_FUNCTIONS* pFunctionTable, int* interfaceVersi { memset(&gDLL_FunctionTable_Pre, 0, sizeof(DLL_FUNCTIONS)); - memcpy(pFunctionTable, &gDLL_FunctionTable_Pre, sizeof(DLL_FUNCTIONS)); return 1; diff --git a/AccuracyFix/MetaMod.cpp b/AccuracyFix/MetaMod.cpp index 5957ff6..372c04d 100644 --- a/AccuracyFix/MetaMod.cpp +++ b/AccuracyFix/MetaMod.cpp @@ -4,7 +4,7 @@ plugin_info_t Plugin_info = { META_INTERFACE_VERSION, "Accuracy Fix", - "1.1.6", + "1.1.7", __DATE__, "SmileY", "https://pugbr.net", diff --git a/AccuracyFix/precompiled.h b/AccuracyFix/precompiled.h index eaf1431..4038d08 100644 --- a/AccuracyFix/precompiled.h +++ b/AccuracyFix/precompiled.h @@ -21,9 +21,7 @@ // System Includes #include -#include #include -#include // System Includes #ifndef _WIN32