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
Function args hide global variable r_dlightframecount
#1093
Comments
Yes, it's bad code style. Shared code does not use global variables and receive all such values as parameter.Better to rename parameter name to something else, are you prefer to create pull request to yquake repository, or I will create pull request with fix and mark you as author of fix? I will create fix for remaster in any case. |
The change is trival and since you offer to PR yourself its okay |
Renders has global variable with such name that used as parameters for R_MarkLights shared function. Fixes: * yquake2/yquake2remaster#17 * yquake2#1093
Renders has global variable with such name that used as parameters for R_MarkLights shared function. Fixes: * #17 * yquake2/yquake2#1093
Fixed by merging #1094. |
Renders has global variable with such name that used as parameters for R_MarkLights shared function. Fixes: * yquake2/yquake2remaster#17 * #1093
Some functions hide global variable
r_dlightframecount
by using argument with the same nameThe text was updated successfully, but these errors were encountered: