Revert "[Quest API] Cleanup string copies and push_backs. (#2807)"

This reverts commit bcc2e022dc.
This commit is contained in:
Akkadius committed 2023-01-31 20:30:34 -06:00
1 parent f727c9f75a
commit 54050924d8
21 files changed
+397 -372

No files matched your search

+2 -2
View File
@@ -1427,8 +1427,8 @@ void Corpse::LootItem(Client *client, const EQApplicationPacket *app)
GetID()
);
std::vector<std::any> args;
args.emplace_back(inst);
args.emplace_back(this);
args.push_back(inst);
args.push_back(this);
bool prevent_loot = false;
if (RuleB(Zone, UseZoneController)) {
auto controller = entity_list.GetNPCByNPCTypeID(ZONE_CONTROLLER_NPC_ID);