• R/O
  • SSH
  • HTTPS

xangband: Commit


Commit MetaInfo

Revision1903 (tree)
Time2013-03-21 00:33:26
Authoriks

Log Message

Fix displaying random quest information bug

Change Summary

Incremental Difference

--- TinyAngband/trunk/src/cmd4.c (revision 1902)
+++ TinyAngband/trunk/src/cmd4.c (revision 1903)
@@ -7686,7 +7686,7 @@
76867686 /* New random */
76877687 rand_level = quest[i].level;
76887688
7689- if (p_ptr->max_dlv >= rand_level)
7689+ if (dun_level == rand_level)
76907690 {
76917691 /* Print the quest info */
76927692 r_ptr = &r_info[quest[i].r_idx];
@@ -7708,11 +7708,11 @@
77087708 else
77097709 {
77107710 #ifdef JP
7711- sprintf(rand_tmp_str,"%s (%d 階) - %sを倒す。\n",
7711+ sprintf(rand_tmp_str,"防衛者 (%d 階) - %sを倒す。\n",
77127712 #else
7713- sprintf(rand_tmp_str,"%s (Dungeon level: %d)\n Kill %s.\n",
7713+ sprintf(rand_tmp_str,"The Guardian (Dungeon level: %d)\n Kill %s.\n",
77147714 #endif
7715- quest[i].name, quest[i].level, name);
7715+ quest[i].level, name);
77167716 }
77177717 }
77187718 }
@@ -7720,7 +7720,7 @@
77207720 }
77217721
77227722 /* Print the current random quest */
7723- if (rand_tmp_str[0]) fputs(tmp_str, fff);
7723+ if (rand_tmp_str[0]) fputs(rand_tmp_str, fff);
77247724
77257725 #ifdef JP
77267726 if (!total) fprintf(fff, "なし\n");
Show on old repository browser