mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
BHit_f light cleanup
This commit is contained in:
parent
2675fca219
commit
addf815873
@ -933,8 +933,9 @@ void BHit_f(const CCommand& args)
|
|||||||
if (args.ArgC() != 9)
|
if (args.ArgC() != 9)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (bhit_enable->GetBool() && sv_visualizetraces->GetBool())
|
if (!bhit_enable->GetBool() && !sv_visualizetraces->GetBool())
|
||||||
{
|
return;
|
||||||
|
|
||||||
Vector3D vecAbsStart;
|
Vector3D vecAbsStart;
|
||||||
Vector3D vecAbsEnd;
|
Vector3D vecAbsEnd;
|
||||||
|
|
||||||
@ -965,7 +966,6 @@ void BHit_f(const CCommand& args)
|
|||||||
pEntity->GetAbsOrigin(), 10.f, 8, 6, 20, 60, 255, 0, sv_visualizetraces_duration->GetFloat());
|
pEntity->GetAbsOrigin(), 10.f, 8, 6, 20, 60, 255, 0, sv_visualizetraces_duration->GetFloat());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif // !DEDICATED
|
#endif // !DEDICATED
|
||||||
}
|
}
|
||||||
#endif // !GAMEDLL_S0 && !GAMEDLL_S1
|
#endif // !GAMEDLL_S0 && !GAMEDLL_S1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user