OSDN Git Service

光速移動の状態で広域マップに入ると効果が切れるように修正。
authorhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Jan 2010 07:51:34 +0000 (07:51 +0000)
committerhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Jan 2010 07:51:34 +0000 (07:51 +0000)
src/effects.c

index 75534c2..1c7f939 100644 (file)
@@ -985,6 +985,8 @@ bool set_lightspeed(int v, bool do_dec)
 
        if (p_ptr->is_dead) return FALSE;
 
 
        if (p_ptr->is_dead) return FALSE;
 
+       if (p_ptr->wild_mode) v = 0;
+
        /* Open */
        if (v)
        {
        /* Open */
        if (v)
        {