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:
ade818b
)
隠しドアをc_ptr->mimicで隠す時に、f_info[].mimicを先に反映させるようにした。
author
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 29 Jul 2003 15:41:38 +0000
(15:41 +0000)
committer
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 29 Jul 2003 15:41:38 +0000
(15:41 +0000)
したがって地形を表示する時にはf_info[c_ptr->mimic].mimicではなく、
c_ptr->mimicを見れば十分。
src/grid.c
patch
|
blob
|
history
diff --git
a/src/grid.c
b/src/grid.c
index
064cf95
..
e5dd7d9
100644
(file)
--- a/
src/grid.c
+++ b/
src/grid.c
@@
-145,7
+145,7
@@
void place_random_door(int y, int x, bool room)
place_closed_door(y, x);
/* Hide. If on the edge of room, use outer wall. */
- c_ptr->mimic =
room ? feat_wall_outer : fill_type[randint0(100)]
;
+ c_ptr->mimic =
f_info[room ? feat_wall_outer : fill_type[randint0(100)]].mimic
;
/* Floor type terrain cannot hide a door */
if (feat_floor(c_ptr->mimic))