fix quest name in HTTP API; closes #714
This commit is contained in:
+1
-1
@@ -315,7 +315,7 @@ phosg::JSON Quest::json() const {
|
|||||||
for (const auto& [_, vq] : this->versions) {
|
for (const auto& [_, vq] : this->versions) {
|
||||||
versions_json.emplace_back(phosg::JSON::dict({
|
versions_json.emplace_back(phosg::JSON::dict({
|
||||||
{"Version", phosg::name_for_enum(vq->version)},
|
{"Version", phosg::name_for_enum(vq->version)},
|
||||||
{"Language", name_for_language(vq->language)},
|
{"Language", ::name_for_language(vq->language)},
|
||||||
{"Name", vq->meta.name},
|
{"Name", vq->meta.name},
|
||||||
{"ShortDescription", vq->meta.short_description},
|
{"ShortDescription", vq->meta.short_description},
|
||||||
{"LongDescription", vq->meta.long_description},
|
{"LongDescription", vq->meta.long_description},
|
||||||
|
|||||||
+1
-1
@@ -2640,7 +2640,7 @@ static const QuestScriptOpcodeDefinition opcode_defs[] = {
|
|||||||
{0xF93C, "wrap_item_with_color", "item_packing2", {ITEM_ID, I32}, F_V3_V4 | F_ARGS},
|
{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
|
// 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},
|
{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.
|
// Sets some values to be sent to the server with send_statistic.
|
||||||
|
|||||||
Reference in New Issue
Block a user