fix quest name in HTTP API; closes #714

This commit is contained in:
Martin Michelsen
2025-11-07 11:00:54 -08:00
parent b9e3973c76
commit e1d774ce49
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ phosg::JSON Quest::json() const {
for (const auto& [_, vq] : this->versions) {
versions_json.emplace_back(phosg::JSON::dict({
{"Version", phosg::name_for_enum(vq->version)},
{"Language", name_for_language(vq->language)},
{"Language", ::name_for_language(vq->language)},
{"Name", vq->meta.name},
{"ShortDescription", vq->meta.short_description},
{"LongDescription", vq->meta.long_description},
+1 -1
View File
@@ -2640,7 +2640,7 @@ static const QuestScriptOpcodeDefinition opcode_defs[] = {
{0xF93C, "wrap_item_with_color", "item_packing2", {ITEM_ID, I32}, F_V3_V4 | F_ARGS},
// Returns the local player's language setting. For values, see
// name_for_language_code in StaticGameData.cc.
// name_for_language in StaticGameData.cc.
{0xF93D, "get_lang_setting", "get_lang_setting?", {W_REG}, F_V3_V4 | F_ARGS},
// Sets some values to be sent to the server with send_statistic.