From: habu Date: Sun, 17 Feb 2013 03:52:07 +0000 (+0000) Subject: When being in wilderness, travel command can be used at any time X-Git-Tag: v2.1.2~70 X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=56d5ffa545448014bad74630a086bef31e574c82 When being in wilderness, travel command can be used at any time --- diff --git a/src/cmd2.c b/src/cmd2.c index fa018e1e8..c365b5911 100644 --- a/src/cmd2.c +++ b/src/cmd2.c @@ -4839,8 +4839,8 @@ static void travel_flow_aux(int y, int x, int n, bool wall) /* Ignore out of bounds */ if (!in_bounds(y, x)) return; - /* Ignore unknown grid */ - if (!(c_ptr->info & CAVE_KNOWN)) return; + /* Ignore unknown grid except in wilderness */ + if (dun_level > 0 && !(c_ptr->info & CAVE_KNOWN)) return; /* Ignore "walls" and "rubble" (include "secret doors") */ if (have_flag(f_ptr->flags, FF_WALL) ||