diff --git a/src/game/ScriptMgr.cpp b/src/game/ScriptMgr.cpp index 78ca52456..d8200bec3 100644 --- a/src/game/ScriptMgr.cpp +++ b/src/game/ScriptMgr.cpp @@ -421,9 +421,9 @@ void ScriptMgr::LoadScripts(ScriptMapMap& scripts, const char* tablename) } case SCRIPT_COMMAND_SET_FACTION: { - if (tmp.faction.factionId && !sFactionStore.LookupEntry(tmp.faction.factionId)) + if (tmp.faction.factionId && !sFactionTemplateStore.LookupEntry(tmp.faction.factionId)) { - sLog.outErrorDb("Table `%s` has datalong2 = %u in SCRIPT_COMMAND_SET_FACTION for script id %u, but this faction does not exist.", tablename, tmp.faction.factionId, tmp.id); + sLog.outErrorDb("Table `%s` has datalong = %u in SCRIPT_COMMAND_SET_FACTION for script id %u, but this faction-template does not exist.", tablename, tmp.faction.factionId, tmp.id); continue; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index eb63eb026..a724ca5f0 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11863" + #define REVISION_NR "11864" #endif // __REVISION_NR_H__