mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
Warden added
Warden added. This is part of the current build errors fixes. The application of this PR, results in zero build errors at this point in time,
This commit is contained in:
parent
8ef55a922f
commit
e097ab24c5
18 changed files with 3663 additions and 4 deletions
|
|
@ -2209,7 +2209,8 @@ namespace LuaUnit
|
|||
SpellAuraHolder* holder = CreateSpellAuraHolder(spellInfo, target, unit);
|
||||
|
||||
for (uint32 i = 0; i < MAX_EFFECT_INDEX; ++i)
|
||||
{
|
||||
{
|
||||
// uint8 eff = spellInfo->GetSpellEffect(SpellEffectIndex(i));
|
||||
uint8 eff = (uint8)spellInfo->GetSpellEffect(SpellEffectIndex(i));
|
||||
// uint8 eff = spellInfo->Effect[i]; // Effect is a member of SpellEffectIndex, not SpellEvent
|
||||
if (eff >= TOTAL_SPELL_EFFECTS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue