diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index 36767d014..1d3ba0c32 100755 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -421,7 +421,7 @@ enum ConditionSource // From where was th CONDITION_FROM_VENDOR = 6, // Used to check a condition from a vendor CONDITION_FROM_SPELL_AREA = 7, // Used to check a condition from spell_area table CONDITION_FROM_SPELLCLICK = 8, // Used to check a condition from npc_spellclick_spells table - CONDTION_FROM_DBSCRIPTS = 9, // Used to check a condition from DB Scripts Engine + CONDITION_FROM_DBSCRIPTS = 9, // Used to check a condition from DB Scripts Engine }; class PlayerCondition diff --git a/src/game/ScriptMgr.cpp b/src/game/ScriptMgr.cpp index 77206c35d..fb1145a53 100644 --- a/src/game/ScriptMgr.cpp +++ b/src/game/ScriptMgr.cpp @@ -1734,9 +1734,9 @@ bool ScriptAction::HandleScriptStep() bool terminateResult; if (m_script->data_flags & SCRIPT_FLAG_COMMAND_ADDITIONAL) - terminateResult = !sObjectMgr.IsPlayerMeetToCondition(m_script->terminateCond.conditionId, player, m_map, second, CONDTION_FROM_DBSCRIPTS); + terminateResult = !sObjectMgr.IsPlayerMeetToCondition(m_script->terminateCond.conditionId, player, m_map, second, CONDITION_FROM_DBSCRIPTS); else - terminateResult = sObjectMgr.IsPlayerMeetToCondition(m_script->terminateCond.conditionId, player, m_map, second, CONDTION_FROM_DBSCRIPTS); + terminateResult = sObjectMgr.IsPlayerMeetToCondition(m_script->terminateCond.conditionId, player, m_map, second, CONDITION_FROM_DBSCRIPTS); if (terminateResult && m_script->terminateCond.failQuest && player) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 08b39daff..2a9f3a34a 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 "12607" + #define REVISION_NR "12608" #endif // __REVISION_NR_H__