OSDN Git Service

乗馬/下馬しても剣術家の無想の型が維持されるバグを修正. 乗馬/下馬を試
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 24 May 2004 16:51:01 +0000 (16:51 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 24 May 2004 16:51:01 +0000 (16:51 +0000)
みた時点で無想の型を解かれるように修正.

src/cmd5.c

index 6f8a60b..893a6bd 100644 (file)
@@ -2034,6 +2034,8 @@ bool do_riding(bool force)
        x = px + ddx[dir];
        c_ptr = &cave[y][x];
 
+       if (p_ptr->special_defense & KATA_MUSOU) set_action(ACTION_NONE);
+
        if (p_ptr->riding)
        {
                /* Skip non-empty grids */