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

This reverts commit bcc2e022dc.
This commit is contained in:
Akkadius
2023-01-31 20:30:34 -06:00
parent f727c9f75a
commit 54050924d8
21 changed files with 397 additions and 372 deletions
+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);
}
}