Skip to content

Commit ba0ed27

Browse files
Star-lionShauren
authored andcommitted
Core/Spells: add name for cast_flag_unknown_2 to cast_flag_has_trajectory
(cherry picked from commit 450a6a6)
1 parent e492944 commit ba0ed27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/server/game/Spells/Spell.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4218,7 +4218,7 @@ void Spell::SendSpellStart()
42184218

42194219
//TC_LOG_DEBUG("spells", "Sending SMSG_SPELL_START id={}", m_spellInfo->Id);
42204220

4221-
uint32 castFlags = CAST_FLAG_UNKNOWN_2;
4221+
uint32 castFlags = CAST_FLAG_HAS_TRAJECTORY;
42224222
uint32 schoolImmunityMask = 0;
42234223
uint32 mechanicImmunityMask = 0;
42244224
if (Unit* unitCaster = m_caster->ToUnit())

src/server/game/Spells/Spell.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ enum SpellCastFlags
7676
{
7777
CAST_FLAG_NONE = 0x00000000,
7878
CAST_FLAG_PENDING = 0x00000001, // aoe combat log?
79-
CAST_FLAG_UNKNOWN_2 = 0x00000002,
79+
CAST_FLAG_HAS_TRAJECTORY = 0x00000002,
8080
CAST_FLAG_UNKNOWN_3 = 0x00000004,
8181
CAST_FLAG_UNKNOWN_4 = 0x00000008, // ignore AOE visual
8282
CAST_FLAG_UNKNOWN_5 = 0x00000010,

0 commit comments

Comments
 (0)