Core/Instances: Fix loading entrance location

This commit is contained in:
roc13x
2017-08-20 18:23:47 -06:00
committed by Shauren
parent 0bae7d6918
commit 503a382804

View File

@@ -3452,6 +3452,7 @@ void InstanceMap::CreateInstanceData(bool load)
Field* fields = result->Fetch();
std::string data = fields[0].GetString();
i_data->SetCompletedEncountersMask(fields[1].GetUInt32());
i_data->SetEntranceLocation(fields[2].GetUInt32());
if (!data.empty())
{
TC_LOG_DEBUG("maps", "Loading instance data for `%s` with id %u", sObjectMgr->GetScriptName(i_script_id).c_str(), i_InstanceId);