mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 16:30:15 +00:00
Fix heightmap loading detection and widen wall collision radius
- Use explicit loaded flag for heightmap instead of checking height values - Increase player collision radius from 0.50 to 0.55 for better wall collision
This commit is contained in:
parent
f1bdf0bb67
commit
f3f97cf9de
3 changed files with 4 additions and 2 deletions
|
|
@ -377,6 +377,7 @@ void ADTLoader::parseMCVT(const uint8_t* data, size_t size, MapChunk& chunk) {
|
|||
if (height < minHeight) minHeight = height;
|
||||
if (height > maxHeight) maxHeight = height;
|
||||
}
|
||||
chunk.heightMap.loaded = true;
|
||||
|
||||
// Log height range for first chunk only
|
||||
static bool logged = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue