Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY

This commit is contained in:
ModoX authored and Ovahlord committed 2023-01-09 11:36:01 +01:00
1 parent 5f8f854794
commit 0baf2d1e1e
5 files changed
+6 -21

No files matched your search

+2 -4
View File
@@ -5520,8 +5520,8 @@ void ObjectMgr::LoadInstanceTemplate()
{
uint32 oldMSTime = getMSTime();
// 0 1 2 4
QueryResult result = WorldDatabase.Query("SELECT map, parent, script, allowMount FROM instance_template");
// 0 1 2
QueryResult result = WorldDatabase.Query("SELECT map, parent, script FROM instance_template");
if (!result)
{
@@ -5543,8 +5543,6 @@ void ObjectMgr::LoadInstanceTemplate()
}
InstanceTemplate instanceTemplate;
instanceTemplate.AllowMount = fields[3].GetBool();
instanceTemplate.Parent = uint32(fields[1].GetUInt16());
instanceTemplate.ScriptId = sObjectMgr->GetScriptId(fields[2].GetString());