Skip to content

Fix Layer::getDefaultLayers mismatch - #127

Merged
GRAnimated merged 1 commit into
GRAnimated:mainfrom
SSMG64:fix-layer-getdefaultlayers-mismatch
Nov 19, 2026
Merged

GRAnimated merged 1 commit into
GRAnimated:mainfrom
SSMG64:fix-layer-getdefaultlayers-mismatch

Conversation

@SSMG64

@SSMG64 SSMG64 commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

I finally found what was mismatching and fixed Layer::getDefaultLayers, yay!

I changed LevelData::getBiomeScale() to return an unsigned char instead of a bool to match BiomeSource::LayerOverrideSettings::GetBiomeScale(), and that removed an extra instruction. I also changed BiomeInitLayer to take biome instead of layer and cleaned up how useBiomeScale is copied into an int for ZoomLayer::zoom to fix extension and register reuse issues, and i also removed the NON_MATCHING comment this time.

tools/check still says OK and it updated the function in the CSV to Matching

That took me so long to figure out ._.
Also tell me if i need to change anything, in case i might have forgot again

@GRAnimated

@DexrnZacAttack DexrnZacAttack self-assigned this Oct 22, 2026
@SSMG64

SSMG64 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Hey @GRAnimated , think you can merge this? Would be greatly appreciated, thanks!

@GRAnimated
GRAnimated merged commit e485fef into GRAnimated:main Nov 19, 2026
3 checks passed
@SSMG64
SSMG64 deleted the fix-layer-getdefaultlayers-mismatch branch November 20, 2026 06:13
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