mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed native get_user_origin mode 4
This commit is contained in:
parent
580305ce92
commit
609fdae508
@ -120,7 +120,6 @@ public:
|
||||
cell hudmap[5];
|
||||
|
||||
Vector lastTrace;
|
||||
Vector thisTrace;
|
||||
Vector lastHit;
|
||||
|
||||
List<ClientCvarQuery_Info *> queries;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user