From 19311187ea6bb7f5f88b557c6c9e4fe11cf3c46a Mon Sep 17 00:00:00 2001 From: deskull Date: Thu, 8 Jul 2021 12:49:13 +0900 Subject: [PATCH] =?utf8?q?[Fix]=20is=5Fechizen()=E3=81=8CTRUE(=E3=82=BB?= =?utf8?q?=E3=83=AA=E3=83=95=E3=81=8C=E3=82=A2=E3=83=AC=E3=81=AE=E7=8A=B6?= =?utf8?q?=E6=85=8B)=E3=81=AE=E6=99=82=E3=80=81=E5=9C=B0=E4=B8=8A=E3=81=AB?= =?utf8?q?=E6=88=BB=E3=82=8B=E9=9A=9B=E3=81=AE=E5=B8=B0=E9=82=84=E6=AE=8B?= =?utf8?q?=E3=82=8A=E6=99=82=E9=96=93=E3=81=8C=E3=83=AA=E3=82=BB=E3=83=83?= =?utf8?q?=E3=83=88=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E4=B8=8D=E5=85=B7?= =?utf8?q?=E5=90=88=E3=82=92=E4=BF=AE=E6=AD=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmd-action/cmd-move.cpp | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/cmd-action/cmd-move.cpp b/src/cmd-action/cmd-move.cpp index 3ac0639dc..485b185fd 100644 --- a/src/cmd-action/cmd-move.cpp +++ b/src/cmd-action/cmd-move.cpp @@ -146,14 +146,19 @@ void do_cmd_go_up(player_type *creature_ptr) if (record_stair) exe_write_diary(creature_ptr, DIARY_STAIR, 0 - up_num, _("階段を上った", "climbed up the stairs to")); - if (is_echizen(creature_ptr)) - msg_print(_("なんだこの階段は!", "What's this STAIRWAY!")); - else if (up_num == creature_ptr->current_floor_ptr->dun_level) { - msg_print(_("地上に戻った。", "You go back to the surface.")); + if (up_num == creature_ptr->current_floor_ptr->dun_level) { + if (is_echizen(creature_ptr)) + msg_print(_("なんだこの階段は!", "What's this STAIRWAY!")); + else + msg_print(_("地上に戻った。", "You go back to the surface.")); creature_ptr->word_recall = 0; } - else - msg_print(_("階段を上って新たなる迷宮へと足を踏み入れた。", "You enter a maze of up staircases.")); + else { + if (is_echizen(creature_ptr)) + msg_print(_("なんだこの階段は!", "What's this STAIRWAY!")); + else + msg_print(_("階段を上って新たなる迷宮へと足を踏み入れた。", "You enter a maze of up staircases.")); + } creature_ptr->leaving = true; } -- 2.11.0