mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
'BHit_f' Cleanup
This commit is contained in:
parent
068e50ea40
commit
85a91d4307
@ -1041,7 +1041,7 @@ void BHit_f(const CCommand& args)
|
||||
if (bhit_abs_origin->GetBool())
|
||||
{
|
||||
int iEnt = atof(args[2]);
|
||||
if (IClientEntity* pEntity = g_pClientEntityList->GetClientEntity(atof(args[2])))
|
||||
if (IClientEntity* pEntity = g_pClientEntityList->GetClientEntity(iEnt))
|
||||
vecAbsEnd = pEntity->GetAbsOrigin();
|
||||
else
|
||||
goto VEC_RENDER;
|
||||
|
Loading…
x
Reference in New Issue
Block a user