Skip to content

Conversation

@FreeSlave
Copy link
Member

@FreeSlave FreeSlave commented Aug 15, 2024

When func_breakable is set to Trigger Only, it sets the pev->takedamage to DAMAGE_NO, but since there's no check for it in TakeDamage it still can take damage because some attacks don't check for pev->takedamage from outside (e.g. CheckTraceHullAttack).

I'm not sure if this fix should be merged as there could be some maps that rely on such behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant