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

- GetSectorFloorZ/GetSectorCeilingZ tag=0 handling (take 4) #40

Merged
merged 1 commit into from
Mar 31, 2014
Merged

- GetSectorFloorZ/GetSectorCeilingZ tag=0 handling (take 4) #40

merged 1 commit into from
Mar 31, 2014

Conversation

crimsondusk
Copy link
Contributor

With this patch GetSectorFloorZ and GetSectorCeilingZ consider tag=0 to mean 'any sector' and look up the sector at the coordinates given. tag=0 is useless as it is because the function first gets the sector by tag first and then gets the coordinates, so it only works for single tagged sectors. This adds a generalized way of getting z by x and y at whatever point in the map.

…et tag=0 as 'any sector' and return the z height of whatever sector is at those coordinates.
@coelckers coelckers merged commit d7a2435 into rheit:master Mar 31, 2014
@crimsondusk crimsondusk deleted the getsectorz_take2 branch March 31, 2014 20:52
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