-
Notifications
You must be signed in to change notification settings - Fork 117
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
Fix client crash during final killcam #900
Conversation
Added the corresponding vanilla file to main and updated this PR so it only reflects the actual change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, I don't think this really needs testing tbh. It's uhhh just an error check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple enough to understand, probably no need to test due to this simplicity.
Good to go for me.
All this PR does is add cl_screenfade.gnut from basegame to Northstar. It includes a fix at lines 250 and 252.This PR fixes a bug affecting Infection and possibly other gamemodes that causes a client crash during final killcam. The bug in question along with a detailed writeup can be found here Bobbyperson/InfectionRework#7 (this issue does affect base infection).Code review:
The added code is essentially copied from Vanilla code a few lines above.
Testing:
Testing the fix in question is quite difficult, as the bug is fairly random and hard to produce. However, because this same exact check is done just a few lines earlier and seems to be unintentionally missing, it shouldn't require any testing.