Core/Misc: Mention vmaps in error message about loading gameobject models

Port From (https://github.com/TrinityCore/TrinityCore/commit/d5ec4a7f05f34386cc76b7fe7c289d148d69a43d)
This commit is contained in:
hondacrx
2023-02-19 02:13:58 -05:00
parent 7248a60e9d
commit a55d37c91e
2 changed files with 8 additions and 8 deletions
+7 -7
View File
@@ -425,6 +425,13 @@ namespace Game
Environment.Exit(1);
}
Log.outInfo(LogFilter.ServerLoading, "Loading GameObject models...");
if (!GameObjectModel.LoadGameObjectModelList())
{
Log.outFatal(LogFilter.ServerLoading, "Unable to load gameobject models (part of vmaps), objects using WMO models will crash the client - server shutting down!");
Environment.Exit(1);
}
Log.outInfo(LogFilter.ServerLoading, "Loading hotfix blobs...");
Global.DB2Mgr.LoadHotfixBlob(m_availableDbcLocaleMask);
@@ -496,13 +503,6 @@ namespace Game
Log.outInfo(LogFilter.ServerLoading, "Loading languages words...");
Global.LanguageMgr.LoadLanguagesWords();
Log.outInfo(LogFilter.ServerLoading, "Loading GameObject models...");
if (!GameObjectModel.LoadGameObjectModelList())
{
Log.outFatal(LogFilter.ServerLoading, "Unable to load gameobject models, objects using WMO models will crash the client - server shutting down!");
Environment.Exit(1);
}
Log.outInfo(LogFilter.ServerLoading, "Loading Instance Template...");
Global.ObjectMgr.LoadInstanceTemplate();