mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
Removed more warnings, mostly related to unused-variable
issue #121 We still have to work on unused-parameter
This commit is contained in:
@@ -23,7 +23,7 @@ namespace MMAP
|
||||
return g_MMapManager;
|
||||
}
|
||||
|
||||
bool MMapFactory::IsPathfindingEnabled(const Map* map, bool force)
|
||||
bool MMapFactory::IsPathfindingEnabled(const Map* map)
|
||||
{
|
||||
if (!map) return false;
|
||||
return !forbiddenMaps[map->GetId()] && (sWorld->getBoolConfig(CONFIG_ENABLE_MMAPS) ? true : map->IsBattlegroundOrArena());
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace MMAP
|
||||
public:
|
||||
static MMapManager* createOrGetMMapManager();
|
||||
static void clear();
|
||||
static bool IsPathfindingEnabled(const Map* map, bool force = false);
|
||||
static bool IsPathfindingEnabled(const Map* map);
|
||||
static void InitializeDisabledMaps();
|
||||
static bool forbiddenMaps[1000];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user