Skip to content

Commit

Permalink
AimbotProjectile: Removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lnx00 committed Jan 1, 2024
1 parent 93abd62 commit b159444
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
#include "../../MovementSimulation/MovementSimulation.h"
#include "../../ProjectileSim/ProjectileSim.h"

//static std::vector<Vec3> vecPositions = {};
//static int nLastAimedPos = 0; //0 feet 1 body 2 head
static bool bMP = false;
constexpr int GAUGE_OFFSET{ 0x1B40 }; // TODO: ???
constexpr int GAUGE_OFFSET = 0x1B40; // TODO: ???

void DrawProjPath(const CUserCmd* pCmd, float time)
{
Expand Down Expand Up @@ -855,9 +852,7 @@ bool CAimbotProjectile::SolveTarget(C_TFPlayer* pLocal, C_TFWeaponBase* pWeapon,

Vec3 vTargetMp = F::MovementSimulation->GetOrigin();

bMP = true;
OffsetPlayerPosition(pWeapon, vTargetMp, pPlayer, bDucked, bOnGround);
bMP = false;

CFG::Aimbot_Projectile_Aim_Position = nOld;

Expand Down

0 comments on commit b159444

Please sign in to comment.