Skip to content

Commit 1bb4837

Browse files
committed
Fix TC cross core compat
1 parent 8382025 commit 1bb4837

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

methods/TrinityCore/UnitMethods.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,11 @@ namespace LuaUnit
22232223
args.TriggerFlags = TRIGGERED_FULL_MASK;
22242224
if (castItem)
22252225
args.SetCastItem(castItem);
2226+
#if ELUNA_EXPANSION < RETAIL
2227+
if (originalCaster)
2228+
#else
22262229
if (&originalCaster)
2230+
#endif
22272231
args.SetOriginalCaster(originalCaster);
22282232

22292233
unit->CastSpell(target, spell, args);

0 commit comments

Comments
 (0)