From 59961cffc792e4a1be85cb67258e09dcdd85274a Mon Sep 17 00:00:00 2001 From: boxa Date: Mon, 16 Jul 2012 22:00:59 +0200 Subject: [PATCH] [12052] Fixup commit 12043, My bad. Thx to Reamer for pointing --- src/game/CharacterHandler.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/CharacterHandler.cpp b/src/game/CharacterHandler.cpp index 0cc0703d3..cfae6c0a0 100644 --- a/src/game/CharacterHandler.cpp +++ b/src/game/CharacterHandler.cpp @@ -796,7 +796,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder *holder) { SendNotification(LANG_INVISIBLE_INVISIBLE); 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); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 4030460a7..2555a8a39 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12051" + #define REVISION_NR "12052" #endif // __REVISION_NR_H__