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

Remove unnecessary integer values from enums #17

Open
szreder opened this issue Jul 19, 2014 · 0 comments
Open

Remove unnecessary integer values from enums #17

szreder opened this issue Jul 19, 2014 · 0 comments

Comments

@szreder
Copy link
Collaborator

szreder commented Jul 19, 2014

Since aa965ed we don't depend on numeric values of enum class BTech::Range in WeaponBase::getRangeModifier(). Investigate if we don't have similar dependency somewhere else and if not - purge the explicit integer valuations of Range enums.

Bonus points for similar research on other enums in Utils.h. Document instances of such dependencies (if any).

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