[12052] Fixup commit 12043, My bad. Thx to Reamer for pointing

This commit is contained in:
boxa 2012-07-16 22:00:59 +02:00 committed by Schmoozerd
parent cecd262a59
commit 59961cffc7
2 changed files with 2 additions and 2 deletions

View file

@ -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);
} }

View file

@ -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__