From c5f7ab377db14e48d10fb4eab4ea6fffa65b7763 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 29 Apr 2009 01:00:15 -0500 Subject: *Fix build. --HG-- branch : trunk --- src/game/AuctionHouseBot.cpp | 2 +- src/game/SpellEffects.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/AuctionHouseBot.cpp b/src/game/AuctionHouseBot.cpp index 643e18c42d8..b2b06faae84 100644 --- a/src/game/AuctionHouseBot.cpp +++ b/src/game/AuctionHouseBot.cpp @@ -771,7 +771,7 @@ void AuctionHouseBot() if ((!AHBSeller) && (!AHBBuyer)) return; - WorldSession _session(AHBplayerAccount, NULL, 0, true, 0, LOCALE_enUS); + WorldSession _session(AHBplayerAccount, NULL, SEC_PLAYER, true, 0, LOCALE_enUS); Player _AHBplayer(&_session); _AHBplayer.MinimalLoadFromDB(NULL, AHBplayerGUID); ObjectAccessor::Instance().AddObject(&_AHBplayer); diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index e5d15ba6515..b96eb399fc2 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4850,7 +4850,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) return; // Prevent stacking of mounts - unitTarget->RemoveSpellsCausingAura(SPELL_AURA_MOUNTED); + unitTarget->RemoveAurasByType(SPELL_AURA_MOUNTED); // Triggered spell id dependent of riding skill if(uint16 skillval = ((Player*)unitTarget)->GetSkillValue(SKILL_RIDING)) -- cgit v1.2.3