Skip to content

Remove unnecessary integer values from enums #17

Description

@szreder

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).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions