mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user