Skip to content

Commit 60d8738

Browse files
committed
Fix issue after merge
1 parent e8aac4f commit 60d8738

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

ElunaSpellWrapper.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ SpellInfo const* ElunaProcInfo::GetSpellInfo() const
7878
if (_spell)
7979
#if defined ELUNA_TRINITY
8080
return _spell->GetSpellInfo();
81-
#elif defined ELUNA_CMANGOS
81+
#elif defined ELUNA_CMANGOS || defined ELUNA_VMANGOS
8282
return _spell->GetSpellProto();
8383
#endif
8484
return nullptr;
@@ -168,6 +168,10 @@ void ElunaProcInfo::ApplyToProcEventInfo(ProcExecutionData& procInfo) const
168168
}
169169
#endif
170170

171+
#if defined ELUNA_TRINITY
171172
ElunaSpellInfo::ElunaSpellInfo(uint32 spellId) : _spellInfo(sSpellMgr->GetSpellInfo(spellId))
173+
#else
174+
ElunaSpellInfo::ElunaSpellInfo(uint32 spellId) : _spellInfo(sSpellMgr.GetSpellEntry(spellId))
175+
#endif
172176
{
173-
}
177+
}

0 commit comments

Comments
 (0)