fix(Core/GameObject): Segment fault error fix (#8824)
Closes https://github.com/azerothcore/azerothcore-wotlk/issues/8819
This commit is contained in:
parent
fe682805ab
commit
86329a43ab
1 changed files with 1 additions and 1 deletions
|
|
@ -2210,7 +2210,7 @@ void ObjectMgr::LoadGameobjects()
|
|||
data.rotation.z = fields[9].GetFloat();
|
||||
data.rotation.w = fields[10].GetFloat();
|
||||
data.spawntimesecs = fields[11].GetInt32();
|
||||
data.ScriptId = GetScriptId(fields[19].GetString());
|
||||
data.ScriptId = GetScriptId(fields[18].GetString());
|
||||
if (!data.ScriptId)
|
||||
data.ScriptId = gInfo->ScriptId;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue