respect Penetrate_Teammates; guaranteed +use

This commit is contained in:
explorer
2024-12-13 12:57:10 +03:00
parent 6026914241
commit 309a0f2c27
3 changed files with 15 additions and 8 deletions
+5 -1
View File
@@ -37,6 +37,10 @@ void __thiscall Perform_Trace(void* Stack)
if (*(__int32*)((unsigned __int32)Entity + 228) == *(__int32*)((unsigned __int32)Local_Player + 228))
{
Perform_Trace_Target = nullptr;
Perform_Trace_Damage = 0.f;
return;
}
}
@@ -68,7 +72,7 @@ void __thiscall Perform_Trace(void* Stack)
{
if (Interface_Penetration_Damage.Integer == 0)
{
Perform_Trace_Damage = 1;
Perform_Trace_Damage = 1.f;
}
else
{