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

Update TerrainBuilder.cpp #2088

Merged
merged 2 commits into from
Jul 30, 2023

Conversation

Gamemechanicwow
Copy link
Contributor

🍰 Pullrequest

Slight update for PR #1880 that caused an issue with MMAP at SW entrance.

To me, it looks like an ugly hackfix and I am not really happy with it, but I think it's time to at least do a PR and revisit this issue at a later time.

Pre 1880 behaviour:
Filter all terrain below models

1880 behavior:
Filter terrain if the distance between terrain and model is 1.5 or less.

This PR:
Filter all terrain below WMO models.
Filter terrain if the distance between terrain and M2 model is 1.5 or less.

Proof

  • None

Issues

  • None

How2Test

  • None

Todo / Checklist

  • None

@ratkosrb ratkosrb merged commit dc7f0c4 into vmangos:development Jul 30, 2023
3 checks passed
@Gamemechanicwow Gamemechanicwow deleted the mmap-undermodel branch July 30, 2023 19:08
ratkosrb added a commit that referenced this pull request Jan 25, 2024
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