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:
c1cf962
)
set_tunnel()で山脈にトンネルを作れないバグ修正。
author
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 25 Nov 2003 15:58:43 +0000
(15:58 +0000)
committer
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 25 Nov 2003 15:58:43 +0000
(15:58 +0000)
vaultsの永久岩は inner なので、わざわざコードを追加しないでもちゃんと無視されている。
src/grid.c
patch
|
blob
|
history
diff --git
a/src/grid.c
b/src/grid.c
index
5e706fc
..
a2b8849
100644
(file)
--- a/
src/grid.c
+++ b/
src/grid.c
@@
-738,15
+738,6
@@
static bool set_tunnel(int *x, int *y, bool affectwall)
feat = c_ptr->feat;
f_ptr = &f_info[feat];
- if (have_flag(f_ptr->flags, FF_WALL) && have_flag(f_ptr->flags, FF_PERMANENT))
- {
- /*
- * Ignore permanent walls - sometimes cannot tunnel around them anyway
- * so don't try - it just complicates things unnecessarily.
- */
- return TRUE;
- }
-
if (is_inner_grid(c_ptr))
{
return TRUE;