mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[12052] Fixup commit 12043, My bad. Thx to Reamer for pointing
This commit is contained in:
parent
cecd262a59
commit
59961cffc7
2 changed files with 2 additions and 2 deletions
|
|
@ -796,7 +796,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder *holder)
|
||||||
{
|
{
|
||||||
SendNotification(LANG_INVISIBLE_INVISIBLE);
|
SendNotification(LANG_INVISIBLE_INVISIBLE);
|
||||||
SpellEntry const* invisibleAuraInfo = sSpellStore.LookupEntry(sWorld.getConfig(CONFIG_UINT32_GM_INVISIBLE_AURA));
|
SpellEntry const* invisibleAuraInfo = sSpellStore.LookupEntry(sWorld.getConfig(CONFIG_UINT32_GM_INVISIBLE_AURA));
|
||||||
if (!invisibleAuraInfo || !IsSpellAppliesAura(invisibleAuraInfo))
|
if (invisibleAuraInfo && IsSpellAppliesAura(invisibleAuraInfo))
|
||||||
pCurrChar->CastSpell(pCurrChar, invisibleAuraInfo, true);
|
pCurrChar->CastSpell(pCurrChar, invisibleAuraInfo, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12051"
|
#define REVISION_NR "12052"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue