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
@@ -375,7 +375,7 @@ void Client::GoFish()
if (inst) {
std::vector<std::any> args;
args.emplace_back(inst);
args.push_back(inst);
parse->EventPlayer(EVENT_FISH_SUCCESS, this, "", inst->GetID(), &args);
}
}
@@ -495,7 +495,7 @@ void Client::ForageItem(bool guarantee) {
if (inst) {
std::vector<std::any> args;
args.emplace_back(inst);
args.push_back(inst);
parse->EventPlayer(EVENT_FORAGE_SUCCESS, this, "", inst->GetID(), &args);
}
}