aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/NPCHandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/NPCHandler.cpp b/src/game/NPCHandler.cpp
index 5a9953564ab..c97196c0d91 100644
--- a/src/game/NPCHandler.cpp
+++ b/src/game/NPCHandler.cpp
@@ -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();