Correct Nav type for WMO objects (#18364)
* Tools/MMaps: Correct liquid type for WMO objects * MMaps: Update version to 6
This commit is contained in:
1 parent
d9daebb4cf
commit
15a1e26d99
3 files changed
+3
-3
No files matched your search
@@ -5,7 +5,7 @@
|
||||
#include "DetourNavMesh.h"
|
||||
|
||||
const uint32 MMAP_MAGIC = 0x4d4d4150; // 'MMAP'
|
||||
#define MMAP_VERSION 5
|
||||
#define MMAP_VERSION 6
|
||||
|
||||
struct MmapTileHeader
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
#define MMAP_MAGIC 0x4d4d4150 // 'MMAP'
|
||||
#define MMAP_VERSION 5
|
||||
#define MMAP_VERSION 6
|
||||
|
||||
struct MmapTileHeader
|
||||
{
|
||||
|
||||
@@ -710,7 +710,7 @@ namespace MMAP
|
||||
uint8 type = NAV_EMPTY;
|
||||
|
||||
// convert liquid type to NavTerrain
|
||||
switch (liquid->GetType())
|
||||
switch (liquid->GetType() & 3)
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
|
||||
Reference in new issue
Block a user