mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +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);
|
||||
|
||||
Reference in New Issue
Block a user