diff options
author | jackpoz <giacomopoz@gmail.com> | 2016-06-04 15:01:39 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-01-12 00:13:55 +0100 |
commit | 954b3c9617ec921f45ace011594ccdfb963453e0 (patch) | |
tree | 2720c6ca38dcbaaec40facb09f810ee0a491dd35 /src/server/database/Database/QueryCallback.cpp | |
parent | 1a7b4fbe4d64d82cc57d8ba2783d25b24d40c25a (diff) |
Core/VMaps: Fix some vmap height edge cases
Fix Map::GetWaterOrGroundLevel() checking dynamic object only in phase 1 instead of current Unit phase.
Improve DynamicMapTree::getHeight() dynamic object check by casting the ray at +0.5f from the passed Z coordinate, this value will be tuned to improve even more the results.
(cherry picked from commit 1347d7cf7a8656f3db9d8b2f6e6d955e1fa8c129)
Diffstat (limited to 'src/server/database/Database/QueryCallback.cpp')
0 files changed, 0 insertions, 0 deletions