• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision0550b8f0263e93c206c3d362c9df73d806379c4d (tree)
Time2019-06-13 22:48:44
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 do_cmd_kaji() の作業制限処理を整理.

Change Summary

Incremental Difference

--- a/src/cmd-smith.c
+++ b/src/cmd-smith.c
@@ -1378,16 +1378,8 @@ void do_cmd_kaji(bool only_browse)
13781378 if (!only_browse)
13791379 {
13801380 if (cmd_limit_confused(p_ptr)) return;
1381- if (p_ptr->blind)
1382- {
1383- msg_print(_("目が見えなくて作業できない!", "You are blind!"));
1384- return;
1385- }
1386- if (p_ptr->image)
1387- {
1388- msg_print(_("うまく見えなくて作業できない!", "You are hallucinating!"));
1389- return;
1390- }
1381+ if (cmd_limit_blind(p_ptr)) return;
1382+ if (cmd_limit_image(p_ptr)) return;
13911383 }
13921384
13931385 if (!(repeat_pull(&mode) && 1 <= mode && mode <= 5))
Show on old repository browser