mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-06 02:30:26 -08:00
uncommented releaseModelInstance to fix a warning
This commit is contained in:
parent
14f1c767ef
commit
bea6f6b9fb
1 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@ namespace VMAP
|
|||
|
||||
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);
|
||||
|
||||
ModelFileMap::iterator model = iLoadedModelFiles.find(filename);
|
||||
|
|
@ -290,7 +290,7 @@ namespace VMAP
|
|||
#endif
|
||||
delete model->second.getModel();
|
||||
iLoadedModelFiles.erase(model);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
bool VMapManager2::existsMap(const char* basePath, unsigned int mapId, int x, int y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue