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

Fix build fail due to REACH_ATTACK flag #3370

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

chaosvolt
Copy link
Member

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 the REACH_ATTACK flag is called. Per Volch's advice on the discord, used STATIC 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

  1. Compiled and load-tested
  2. Spawned in a spear and messed around with using it via f, nothing weird happened.
  3. Checked affected file for astyle.

Real test will be whether the check that was failing passes now.

Additional context

Co-Authored-By: Vollch <544763+vollch@users.noreply.github.com>
@github-actions github-actions bot added the src changes related to source code. label Oct 5, 2023
@scarf005 scarf005 added this pull request to the merge queue Oct 5, 2023
Merged via the queue into cataclysmbnteam:upload with commit 5f26a3c Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants