mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
uncommented releaseModelInstance to fix a warning
This commit is contained in:
@@ -274,7 +274,7 @@ namespace VMAP
|
|||||||
|
|
||||||
void VMapManager2::releaseModelInstance(const std::string &filename)
|
void VMapManager2::releaseModelInstance(const std::string &filename)
|
||||||
{
|
{
|
||||||
/*//! Critical section, thread safe access to iLoadedModelFiles
|
//! Critical section, thread safe access to iLoadedModelFiles
|
||||||
TRINITY_GUARD(ACE_Thread_Mutex, LoadedModelFilesLock);
|
TRINITY_GUARD(ACE_Thread_Mutex, LoadedModelFilesLock);
|
||||||
|
|
||||||
ModelFileMap::iterator model = iLoadedModelFiles.find(filename);
|
ModelFileMap::iterator model = iLoadedModelFiles.find(filename);
|
||||||
@@ -290,7 +290,7 @@ namespace VMAP
|
|||||||
#endif
|
#endif
|
||||||
delete model->second.getModel();
|
delete model->second.getModel();
|
||||||
iLoadedModelFiles.erase(model);
|
iLoadedModelFiles.erase(model);
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VMapManager2::existsMap(const char* basePath, unsigned int mapId, int x, int y)
|
bool VMapManager2::existsMap(const char* basePath, unsigned int mapId, int x, int y)
|
||||||
|
|||||||
Reference in New Issue
Block a user