X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fview-mainwindow.c;h=b341b2d27f96c7dfe738f509b3b075aaa6d05ce7;hb=121a397b5b8e23b362ddd1aa30e1412feec53198;hp=4bf471da6131dba3db7a3b9cfb87e7fcae542403;hpb=97f48df57a3fa9aa0b31f7d61e2f11c99bc921b9;p=hengband%2Fhengband.git diff --git a/src/view-mainwindow.c b/src/view-mainwindow.c index 4bf471da6..b341b2d27 100644 --- a/src/view-mainwindow.c +++ b/src/view-mainwindow.c @@ -190,8 +190,8 @@ void prt_time(void) */ concptr map_name(void) { - if (p_ptr->inside_quest && is_fixed_quest_idx(p_ptr->inside_quest) - && (quest[p_ptr->inside_quest].flags & QUEST_FLAG_PRESET)) + if (p_ptr->current_floor_ptr->inside_quest && is_fixed_quest_idx(p_ptr->current_floor_ptr->inside_quest) + && (quest[p_ptr->current_floor_ptr->inside_quest].flags & QUEST_FLAG_PRESET)) return _("クエスト", "Quest"); else if (p_ptr->wild_mode) return _("地上", "Surface"); @@ -974,7 +974,7 @@ static void prt_depth(void) { strcpy(depths, _("地上", "Surf.")); } - else if (p_ptr->inside_quest && !p_ptr->dungeon_idx) + else if (p_ptr->current_floor_ptr->inside_quest && !p_ptr->dungeon_idx) { strcpy(depths, _("地上", "Quest")); }