*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-29 01:00:15 -05:00
parent a2b12f3ae8
commit c5f7ab377d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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