Fix build fail due to REACH_ATTACK flag #3370
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
SUMMARY: Bugfixes "Update use of REACH_ATTACK flag in sdltiles.cpp to fix check failure"
Purpose of change
Fixes an error about incorrect use of
REACH_ATTACK
flag that was causing buildbot to scream.Describe the solution
In sdltiles.cpp, added updated
CheckMessages
to fix how theREACH_ATTACK
flag is called. Per Volch's advice on the discord, usedSTATIC
so it doesn't have to be yet another file with flag.h in its includes.Describe alternatives you've considered
Joining the buildbot in the screaming and waiting for someone else to fix it.
Testing
f
, nothing weird happened.Real test will be whether the check that was failing passes now.
Additional context