mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
Fix previous commit *headbang. Thx to Reamer for pointing
This commit is contained in:
parent
b984d3f787
commit
bccded7e4b
1 changed files with 2 additions and 2 deletions
|
|
@ -1165,9 +1165,9 @@ bool Group::_addMember(ObjectGuid guid, const char* name, bool isAssistant, uint
|
||||||
|
|
||||||
uint32 lastMap = 0;
|
uint32 lastMap = 0;
|
||||||
if (player && player->IsInWorld())
|
if (player && player->IsInWorld())
|
||||||
player->GetMapId();
|
lastMap = player->GetMapId();
|
||||||
else if (player && player->IsBeingTeleported())
|
else if (player && player->IsBeingTeleported())
|
||||||
player->GetTeleportDest().mapid;
|
lastMap = player->GetTeleportDest().mapid;
|
||||||
|
|
||||||
MemberSlot member;
|
MemberSlot member;
|
||||||
member.guid = guid;
|
member.guid = guid;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue