mirror of
https://github.com/araxiaonline/AscEmu.git
synced 2026-06-13 03:02:22 -04:00
Resolved missing update for cata/mop
This commit is contained in:
@@ -188,12 +188,12 @@ bool ChatHandler::HandleGMTicketListCommand(const char* args, WorldSession* m_se
|
||||
Player* plr = sObjectMgr.GetPlayer((uint32)(*itr)->playerGuid);
|
||||
|
||||
Player* aplr = NULL;
|
||||
CachedCharacterInfo* aplri = NULL;
|
||||
std::shared_ptr<CachedCharacterInfo> aplri = NULL;
|
||||
if ((*itr)->assignedToPlayer != 0)
|
||||
{
|
||||
aplr = sObjectMgr.GetPlayer((uint32)(*itr)->assignedToPlayer);
|
||||
if (aplr == NULL)
|
||||
aplri = sObjectMgr.GetPlayerInfo((uint32)(*itr)->assignedToPlayer);
|
||||
aplri = sObjectMgr.getCachedCharacterInfo((uint32)(*itr)->assignedToPlayer)
|
||||
}
|
||||
|
||||
std::stringstream ss;
|
||||
|
||||
@@ -1492,7 +1492,7 @@ void WorldSession::handleGuildFinderGetRecruits(WorldPacket& recvPacket)
|
||||
MembershipRequest request = *itr;
|
||||
WoWGuid playerGuid(request.getPlayerGUID(), 0, HIGHGUID_TYPE_PLAYER);
|
||||
|
||||
CachedCharacterInfo* info = sObjectMgr.GetPlayerInfo(request.getPlayerGUID());
|
||||
std::shared_ptr<CachedCharacterInfo> info = sObjectMgr.getCachedCharacterInfo(request.getPlayerGUID())
|
||||
std::string name = info->name;
|
||||
|
||||
data.writeBits(request.getComment().size(), 11);
|
||||
|
||||
Reference in New Issue
Block a user