mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user