diff --git a/amxmodx/CMisc.h b/amxmodx/CMisc.h index 95e06983..9313cf58 100755 --- a/amxmodx/CMisc.h +++ b/amxmodx/CMisc.h @@ -120,7 +120,6 @@ public: cell hudmap[5]; Vector lastTrace; - Vector thisTrace; Vector lastHit; List queries; diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 0eb3bbf5..ac304650 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -1217,8 +1217,7 @@ void C_TraceLine_Post(const float *v1, const float *v2, int fNoMonsters, edict_t if (ptr->pHit && (ptr->pHit->v.flags & (FL_CLIENT | FL_FAKECLIENT))) pPlayer->aiming = ptr->iHitgroup; - pPlayer->lastTrace = pPlayer->thisTrace; - pPlayer->thisTrace = ptr->vecEndPos; + pPlayer->lastTrace = ptr->vecEndPos; } RETURN_META(MRES_IGNORED);