Skip to content

Commit

Permalink
call actual
Browse files Browse the repository at this point in the history
  • Loading branch information
Kxnrl committed Oct 14, 2024
1 parent 97b1d5c commit ef39758
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/detours.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ void FASTCALL Detour_CBaseEntity_TakeDamageOld(CBaseEntity *pThis, CTakeDamageIn

const auto pszWeaponClass = inputInfo->m_hAbility.Get() ? inputInfo->m_hAbility.Get()->GetClassname() : "";
const auto pszAttackerClass = inputInfo->m_hAttacker.Get() ? inputInfo->m_hAttacker.Get()->GetClassname() : "";
Warning("Player take damage from %f by %s.%s with %s", inputInfo->m_flDamage, pszAttackerClass, pszInflictorClass, pszWeaponClass);

return;
Warning("Player take damage %f by %s.%s with %s\n", inputInfo->m_flDamage, pszAttackerClass, pszInflictorClass, pszWeaponClass);
}

// Prevent everything but nades from inflicting blast damage
Expand Down

0 comments on commit ef39758

Please sign in to comment.