mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[c12608] Fix typo.
This commit is contained in:
parent
af1c665095
commit
d24770cf34
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "12607"
|
||||
#define REVISION_NR "12608"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue