Skip to content

Commit

Permalink
Test build
Browse files Browse the repository at this point in the history
Test build
  • Loading branch information
SmileYzn committed Sep 12, 2024
1 parent 9853c4e commit 97698a0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
9 changes: 2 additions & 7 deletions AccuracyFix/AccuracyFix.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<cvar_t*, MAX_WEAPONS + 1> m_af_distance;

cvar_t* m_af_distance[MAX_WEAPONS + 1];
cvar_t* m_af_accuracy_all;
std::array<cvar_t*, MAX_WEAPONS + 1> m_af_accuracy;

cvar_t* m_af_accuracy[MAX_WEAPONS + 1];
cvar_t* m_af_jump_fix;
};

Expand Down
1 change: 0 additions & 1 deletion AccuracyFix/MetaDLL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion AccuracyFix/MetaMod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions AccuracyFix/precompiled.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

// System Includes
#include <string>
#include <array>
#include <map>
#include <vector>

// System Includes
#ifndef _WIN32
Expand Down

0 comments on commit 97698a0

Please sign in to comment.