diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index d260ee8..a2695d1 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -2379,6 +2379,9 @@ bool InstanceMap::CanEnter(Player *player)
// cannot enter while players in the instance are in combat
Group *pGroup = player->GetGroup();
- if(pGroup && pGroup->InCombatToInstance(GetInstanceId()) && player->isAlive() && player->GetMapId() != GetId())
+ if( pGroup && pGroup->InCombatToInstance(GetInstanceId()) )
{
player->SendTransferAborted(GetId(), TRANSFER_ABORT_ZONE_IN_COMBAT);
return false;
}
Working but the player is teleport to this homebind.
We have to send the message and don't teleport him (lock the portal ?) like other message
It's crash because if you are alive your player->GetCorpse()->GetInstanceId() doesn't work (we have no corpse)
I think it's better to check in this fonction because she is before the TP, we just have to find the better way =)