OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c22ad
)
When being in wilderness, travel command can be used at any time
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 17 Feb 2013 03:52:07 +0000
(
03:52
+0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 17 Feb 2013 03:52:07 +0000
(
03:52
+0000)
src/cmd2.c
patch
|
blob
|
history
diff --git
a/src/cmd2.c
b/src/cmd2.c
index
fa018e1
..
c365b59
100644
(file)
--- 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) ||