Merge branch 'azerothcore:master' into Playerbot

This commit is contained in:
bash
2025-11-05 10:53:28 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
#define SIZE_OF_GRIDS 533.3333f #define SIZE_OF_GRIDS 533.3333f
#define MMAP_MAGIC 0x4d4d4150 // 'MMAP' #define MMAP_MAGIC 0x4d4d4150 // 'MMAP'
#define MMAP_VERSION 17 #define MMAP_VERSION 18
struct MmapTileRecastConfig struct MmapTileRecastConfig
{ {

View File

@@ -25,7 +25,7 @@ namespace MMAP
{ {
float ComputeBaseUnitDim(int vertexPerMapEdge) float ComputeBaseUnitDim(int vertexPerMapEdge)
{ {
return GRID_SIZE / static_cast<float>(vertexPerMapEdge - 1); return GRID_SIZE / static_cast<float>(vertexPerMapEdge);
} }
std::pair<uint32, uint32> MakeTileKey(uint32 x, uint32 y) std::pair<uint32, uint32> MakeTileKey(uint32 x, uint32 y)