Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The poison effect wears off upon save-load #347

Open
FreeSlave opened this issue Nov 28, 2022 · 0 comments
Open

The poison effect wears off upon save-load #347

FreeSlave opened this issue Nov 28, 2022 · 0 comments

Comments

@FreeSlave
Copy link
Member

CBasePlayer::Precache sets m_bitsDamageType to 0

m_bitsDamageType = 0;

effectively canceling time based damage in CheckTimeBasedDamage after the save-load
if( !( m_bitsDamageType & DMG_TIMEBASED ) )

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

No branches or pull requests

1 participant