Fix previous commit *headbang. Thx to Reamer for pointing

This commit is contained in:
Schmoozerd 2012-02-07 12:18:15 +01:00
parent b984d3f787
commit bccded7e4b

View file

@ -1165,9 +1165,9 @@ bool Group::_addMember(ObjectGuid guid, const char* name, bool isAssistant, uint
uint32 lastMap = 0;
if (player && player->IsInWorld())
player->GetMapId();
lastMap = player->GetMapId();
else if (player && player->IsBeingTeleported())
player->GetTeleportDest().mapid;
lastMap = player->GetTeleportDest().mapid;
MemberSlot member;
member.guid = guid;