Skip to content

Conversation

@Archez
Copy link
Contributor

@Archez Archez commented Mar 8, 2023

After the resource changes, the flags in Desert Colossus and Haunted Wasteland would briefly appear to move, and then would stop moving entirely.

Looking into, the wind speed value was negative, and the flags have a check for when wind speed is negative they overwrite it to 0.

Comparing to the old resource type this is because the wind speed was original a uint8_t but with the new resource changes it was turned into a int8_t, causing the wind value to be negative.

This PR switches the wind speed type back to a unit8_t which fixes the flags again.

I compared the values returned from 5.1.4 to this PR and they are identical for all the wind values now.

Fixes #2447

Build Artifacts

@briaguya0 briaguya0 merged commit 60f4f71 into HarbourMasters:develop-khan Mar 8, 2023
@Archez Archez deleted the fix-flag-wind branch March 8, 2023 18:11
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.

2 participants