OSDN Git Service

reset kata_muso at travel
authordis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 15 Nov 2012 14:59:03 +0000 (14:59 +0000)
committerdis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 15 Nov 2012 14:59:03 +0000 (14:59 +0000)
src/cmd2.c
src/dungeon.c

index 223aec6..84cfdc3 100644 (file)
@@ -4749,7 +4749,7 @@ void forget_travel_flow(void)
                {
                        /* Forget the old data */
                        travel.cost[y][x] = TRAVEL_UNABLE;
-               }
+               }       
        }
 }
 
index 484acab..2f772a1 100644 (file)
@@ -5332,6 +5332,10 @@ msg_print("
                case '`':
                {
                        if (!p_ptr->wild_mode) do_cmd_travel();
+                       if (p_ptr->special_defense & KATA_MUSOU)
+                       {
+                               set_action(ACTION_NONE);
+                       }
                        break;
                }
 #endif