diff options
author | Aokromes <aokromes@gmail.com> | 2017-03-26 14:14:20 +0200 |
---|---|---|
committer | Aokromes <aokromes@gmail.com> | 2017-03-26 14:14:20 +0200 |
commit | 596320ba152a55092d924e841a1076e5cf2ce56f (patch) | |
tree | e6e7c7026f6a110769b3679f4ddadbb3535e15a1 /src | |
parent | 0999ef0b774f2c93beefa6329d1a42a13377a35b (diff) |
Typo fix
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index c847305173d..115fd9c3041 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -1794,7 +1794,7 @@ void ObjectMgr::LoadCreatures() data.npcflag = fields[19].GetUInt32(); data.unit_flags = fields[20].GetUInt32(); data.dynamicflags = fields[21].GetUInt32(); - data.ScriptId = GetScriptId(fields[23].GetString()); + data.ScriptId = GetScriptId(fields[22].GetString()); if (!data.ScriptId) data.ScriptId = cInfo->ScriptID; @@ -2136,7 +2136,7 @@ void ObjectMgr::LoadGameobjects() int16 gameEvent = fields[16].GetInt8(); uint32 PoolId = fields[17].GetUInt32(); - data.ScriptId = GetScriptId(fields[19].GetString()); + data.ScriptId = GetScriptId(fields[18].GetString()); if (!data.ScriptId) data.ScriptId = gInfo->ScriptId; |