mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Remove dz check in expedition invite reply
Characters can no longer be re-invited while inside a dz, these checks aren't necessary
This commit is contained in:
+1
-8
@@ -842,10 +842,8 @@ void Expedition::DzInviteResponse(Client* add_client, bool accepted, const std::
|
||||
}
|
||||
}
|
||||
|
||||
bool add_immediately = m_dynamiczone.IsCurrentZoneDzInstance();
|
||||
|
||||
ExpeditionDatabase::InsertCharacterLockouts(
|
||||
add_client->CharacterID(), pending_lockouts, false, !add_immediately);
|
||||
add_client->CharacterID(), pending_lockouts, false, true);
|
||||
|
||||
if (was_swap_invite)
|
||||
{
|
||||
@@ -855,11 +853,6 @@ void Expedition::DzInviteResponse(Client* add_client, bool accepted, const std::
|
||||
{
|
||||
AddMember(add_client->GetName(), add_client->CharacterID());
|
||||
}
|
||||
|
||||
if (m_dynamiczone.IsCurrentZoneDzInstance())
|
||||
{
|
||||
SetMemberStatus(add_client, ExpeditionMemberStatus::InDynamicZone);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user