OSDN Git Service

[Refactor] #38997 set_action() に player_type * 引数を追加.
[hengband/hengband.git] / src / wild.c
index 564fdd8..d5b48c0 100644 (file)
@@ -1181,7 +1181,7 @@ bool change_wild_mode(bool encount)
        if (hex_spelling_any()) stop_hex_spell_all();
 
        /* Cancel any special action */
-       set_action(ACTION_NONE);
+       set_action(p_ptr, ACTION_NONE);
 
        /* Go into the global map */
        p_ptr->wild_mode = TRUE;