OSDN Git Service

[Fix] #37353 クリアしたクエスト情報が正しく表示されない不具合を修正 / Fixed the issue that achieved quests aren...
authorHourier <hourier@users.sourceforge.jp>
Sat, 22 Feb 2020 01:32:51 +0000 (10:32 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sat, 22 Feb 2020 01:32:51 +0000 (10:32 +0900)
src/cmd/cmd-dump.c

index 85bfbd1..415bae2 100644 (file)
@@ -6439,7 +6439,7 @@ static bool do_cmd_knowledge_quests_aux(player_type *player_ptr, FILE *fff, IDX
        strnfmt(playtime_str, sizeof(playtime_str), "%02d:%02d:%02d",
                q_ptr->comptime / (60 * 60), (q_ptr->comptime / 60) % 60, q_ptr->comptime % 60);
 
-       if (is_fixed_quest_idx(q_idx) && q_ptr->r_idx)
+       if (is_fixed_quest_idx(q_idx) || (q_ptr->r_idx == 0))
        {
                /* Print the quest info */
                sprintf(tmp_str,