Skip to content

Commit

Permalink
Core/Spells: add name for cast_flag_unknown_2 to cast_flag_has_trajec…
Browse files Browse the repository at this point in the history
…tory
  • Loading branch information
Star-lion committed Aug 6, 2012
1 parent 64ada0f commit 450a6a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/game/Spells/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3854,7 +3854,7 @@ void Spell::SendSpellStart()

//sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "Sending SMSG_SPELL_START id=%u", m_spellInfo->Id);

uint32 castFlags = CAST_FLAG_UNKNOWN_2;
uint32 castFlags = CAST_FLAG_HAS_TRAJECTORY;

if ((IsTriggered() && !m_spellInfo->IsAutoRepeatRangedSpell()) || m_triggeredByAuraSpell)
castFlags |= CAST_FLAG_PENDING;
Expand Down
2 changes: 1 addition & 1 deletion src/server/game/Spells/Spell.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enum SpellCastFlags
{
CAST_FLAG_NONE = 0x00000000,
CAST_FLAG_PENDING = 0x00000001, // aoe combat log?
CAST_FLAG_UNKNOWN_2 = 0x00000002,
CAST_FLAG_HAS_TRAJECTORY = 0x00000002,
CAST_FLAG_UNKNOWN_3 = 0x00000004,
CAST_FLAG_UNKNOWN_4 = 0x00000008, // ignore AOE visual
CAST_FLAG_UNKNOWN_5 = 0x00000010,
Expand Down

0 comments on commit 450a6a6

Please sign in to comment.