Core/LFG: Fix being unable to enter an instance to retrieve body when you have 5 or more instances in the database.

This commit is contained in:
Kandera
2011-11-18 16:47:06 -05:00
parent 8ea8dd4f3d
commit 04183cb8de
+1 -1
View File
@@ -248,7 +248,7 @@ bool MapManager::CanPlayerEnter(uint32 mapid, Player* player, bool loginCheck)
instaceIdToCheck = save->GetInstanceId(); instaceIdToCheck = save->GetInstanceId();
// instanceId can never be 0 - will not be found // instanceId can never be 0 - will not be found
if (!player->CheckInstanceCount(instaceIdToCheck)) if (!player->CheckInstanceCount(instaceIdToCheck) && !player->isDead())
{ {
player->SendTransferAborted(mapid, TRANSFER_ABORT_TOO_MANY_INSTANCES); player->SendTransferAborted(mapid, TRANSFER_ABORT_TOO_MANY_INSTANCES);
return false; return false;