Skip to content

Fix: Condition causing enemies to always be small in enemy size rando#3512

Merged
briaguya0 merged 1 commit intoHarbourMasters:develop-macreadyfrom
Archez:fix-enemy-sizes-always-small
Dec 17, 2023
Merged

Fix: Condition causing enemies to always be small in enemy size rando#3512
briaguya0 merged 1 commit intoHarbourMasters:develop-macreadyfrom
Archez:fix-enemy-sizes-always-small

Conversation

@Archez
Copy link
Contributor

@Archez Archez commented Dec 11, 2023

After #3452 enemies were only ever small. Problem was the smallOnlyEnemy condition was evaluating to just the Deadhand ID, rather than a check against it to the current actor ID, due to a missing actor->id ==. This fixes the condition so that enemies can be big again.

Build Artifacts

Copy link
Contributor

@aMannus aMannus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a baguette and a half for me.. thought I tested this, oof. Thank you Archez.

@briaguya0 briaguya0 merged commit e2f1ceb into HarbourMasters:develop-macready Dec 17, 2023
@Archez Archez deleted the fix-enemy-sizes-always-small branch December 17, 2023 05:53
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

Successfully merging this pull request may close these issues.

3 participants