mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Core/Globals: Use std::string rather than char* to pass script names around.
(cherry picked from commit b7b49fe35f)
Conflicts:
src/server/game/Battlegrounds/BattlegroundMgr.cpp
src/server/game/Globals/ObjectMgr.cpp
This commit is contained in:
@@ -3177,7 +3177,7 @@ void InstanceMap::CreateInstanceData(bool load)
|
||||
i_data->SetCompletedEncountersMask(fields[1].GetUInt32());
|
||||
if (!data.empty())
|
||||
{
|
||||
TC_LOG_DEBUG("maps", "Loading instance data for `%s` with id %u", sObjectMgr->GetScriptName(i_script_id), i_InstanceId);
|
||||
TC_LOG_DEBUG("maps", "Loading instance data for `%s` with id %u", sObjectMgr->GetScriptName(i_script_id).c_str(), i_InstanceId);
|
||||
i_data->Load(data.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user