Skip to content

Commit

Permalink
use IsSaveToDbHolder instead
Browse files Browse the repository at this point in the history
  • Loading branch information
henhouse authored and killerwife committed Oct 22, 2022
1 parent e960dbf commit 8dc69da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/game/Entities/CharacterHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -830,8 +830,6 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
if (invisibleAuraInfo && IsSpellAppliesAura(invisibleAuraInfo))
pCurrChar->CastSpell(pCurrChar, invisibleAuraInfo, TRIGGERED_OLD_TRIGGERED);
}
else if (pCurrChar->HasAura(sWorld.getConfig(CONFIG_UINT32_GM_INVISIBLE_AURA)))
pCurrChar->RemoveAurasDueToSpell(sWorld.getConfig(CONFIG_UINT32_GM_INVISIBLE_AURA));

std::string IP_str = GetRemoteAddress();
sLog.outChar("Account: %d (IP: %s) Login Character:[%s] (guid: %u)",
Expand Down
1 change: 1 addition & 0 deletions src/game/Spells/SpellAuras.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8636,6 +8636,7 @@ bool SpellAuraHolder::IsSaveToDbHolder() const
case 33377: // blessing of auchindoun
case 33779: // twin spire blessing
case 33795: // halaani strength
case 37800: // 50% Transparency (GM aura)
case 39911: // nazgrels command
case 39913: // trollbanes command
case 39953: // adals song of battle
Expand Down

0 comments on commit 8dc69da

Please sign in to comment.