diff options
Diffstat (limited to 'src/game/Group.cpp')
| -rw-r--r-- | src/game/Group.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 1bc542ec08a..3b45c48cb26 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -1796,14 +1796,7 @@ void Group::UnbindInstance(uint32 mapid, uint8 difficulty, bool unload) void Group::_homebindIfInstance(Player *player) { if (player && !player->isGameMaster() && sMapStore.LookupEntry(player->GetMapId())->IsDungeon()) - { - // leaving the group in an instance, the homebind timer is started - // unless the player is permanently saved to the instance - InstanceSave *save = sInstanceSaveManager.GetInstanceSave(player->GetInstanceId()); - InstancePlayerBind *playerBind = save ? player->GetBoundInstance(save->GetMapId(), save->GetDifficulty()) : NULL; - if (!playerBind || !playerBind->perm) - player->m_InstanceValid = false; - } + player->m_InstanceValid = false; } void Group::BroadcastGroupUpdate(void) |
