mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(Core/GameObject): Segment fault error fix (#8824)
Closes https://github.com/azerothcore/azerothcore-wotlk/issues/8819
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user