mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 04:37:04 +00:00
And more build errors fixed
3 errors left! Then the <bleep> will really hit the fan!
This commit is contained in:
parent
4baf9907c7
commit
e8d7dbb8bb
4 changed files with 21 additions and 11 deletions
|
|
@ -2209,8 +2209,9 @@ namespace LuaUnit
|
|||
SpellAuraHolder* holder = CreateSpellAuraHolder(spellInfo, target, unit);
|
||||
|
||||
for (uint32 i = 0; i < MAX_EFFECT_INDEX; ++i)
|
||||
{
|
||||
uint8 eff = spellInfo->Effect[i];
|
||||
{
|
||||
uint8 eff = (uint8)spellInfo->GetSpellEffect(SpellEffectIndex(i));
|
||||
// uint8 eff = spellInfo->Effect[i]; // Effect is a member of SpellEffectIndex, nit SpellEvent
|
||||
if (eff >= TOTAL_SPELL_EFFECTS)
|
||||
continue;
|
||||
if (IsAreaAuraEffect(eff) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue