Cataclysm-DDA
Cataclysm-DDA copied to clipboard
Remove instances of the magic number 60.
Summary
None
Purpose of change
Avoid using magic numbers.
Describe the solution
Run a quick find for the number 60 and replace any instances of distances with
Describe alternatives you've considered
Some of these might not semantically be the actual maximum view distance, but right now they are exactly the same.
Testing
Only replaced a number with a compile time constant equal to that number. If it compiles, it will work exactly the same as before.
Additional context
- you may want to pickup bits in #69324
Marking as draft for now, as I suspect that linked PR includes everything I mentioned here.
It definitely does. This is what I get for not checking open PRs before I make something 😿.