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

Dungeons: Fix duplication of y limit parameters #7359

Merged
merged 1 commit into from May 20, 2018
Merged

Dungeons: Fix duplication of y limit parameters #7359

merged 1 commit into from May 20, 2018

Conversation

paramat
Copy link
Contributor

@paramat paramat commented May 20, 2018

In 04fb109 i added dungeon y-limits to 'DungeonParams' so that either mapgens could use these (they never did) or these would become user-settable if 'DungeonParams' became accessible to users, as hmmmm planned to do (but they never did, he left MT).

More recently i added dungeon y-limits as new mapgen-specific parameters to make these settable by users, forgetting that this caused a duplication. This PR removes the original and unused y-limit parameters.
Like the cave parameters in mapgen parameters, it is a better implementation to move some dungeon parameters into mapgen parameters, so that they are set and stored per-world.

@paramat paramat added @ Mapgen Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements WIP The PR is still being worked on by its author and not ready yet. Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines and removed WIP The PR is still being worked on by its author and not ready yet. labels May 20, 2018
@paramat paramat merged commit 53d5b3e into minetest:master May 20, 2018
@paramat paramat deleted the dunglimits branch May 25, 2018 00:03
osjc pushed a commit to osjc/minetest that referenced this pull request Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements @ Mapgen Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant