mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
Make guild consent persistent for summoned corpses
Live drops group/raid consent but not guild when moving corpse to another zone Store guild consent id in db for character corpses and keep it updated
This commit is contained in:
@@ -6294,6 +6294,8 @@ void Client::ConsentCorpses(const char* consent_name, bool deny)
|
||||
scs->consent_id = GuildID();
|
||||
}
|
||||
scs->consent_type = EQEmu::consent::Guild;
|
||||
// update all corpses in db so buried/unloaded corpses see new consent id
|
||||
database.UpdateCharacterCorpseConsent(CharacterID(), scs->consent_id);
|
||||
}
|
||||
worldserver.SendPacket(pack);
|
||||
safe_delete(pack);
|
||||
|
||||
Reference in New Issue
Block a user