[7768] Add check to prevent set homebind to instance map. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
1 parent
97fb4e0a09
commit
7bf03fbeb3
1 file changed
+4
@@ -441,6 +441,10 @@ void WorldSession::HandleBinderActivateOpcode( WorldPacket & recv_data )
|
||||
|
||||
void WorldSession::SendBindPoint(Creature *npc)
|
||||
{
|
||||
// prevent set homebind to instances in any case
|
||||
if(sMapStore.LookupEntry(GetPlayer()->GetMapId())->Instanceable())
|
||||
return;
|
||||
|
||||
uint32 bindspell = 3286;
|
||||
uint32 zone_id = _player->GetZoneId();
|
||||
|
||||
|
||||
Reference in new issue
Block a user