mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Instances: Fix loading entrance location
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user