OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaeac46
)
[Fix] #38997 get_is_floor() 内変数参照修正. / Fix variable references in get_is_floor().
author
deskull
<deskull@users.sourceforge.jp>
Fri, 20 Dec 2019 14:22:42 +0000
(23:22 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Fri, 20 Dec 2019 14:22:42 +0000
(23:22 +0900)
src/floor.c
patch
|
blob
|
history
diff --git
a/src/floor.c
b/src/floor.c
index
09a82d8
..
ded15c0
100644
(file)
--- a/
src/floor.c
+++ b/
src/floor.c
@@
-1023,14
+1023,14
@@
void vault_trap_aux(floor_type *floor_ptr, POSITION y, POSITION x, POSITION yd,
*/
bool get_is_floor(floor_type *floor_ptr, POSITION x, POSITION y)
{
- if (!in_bounds(
p_ptr->current_
floor_ptr, y, x))
+ if (!in_bounds(floor_ptr, y, x))
{
/* Out of bounds */
return (FALSE);
}
/* Do the real check */
- if (is_floor_bold(
p_ptr->current_
floor_ptr, y, x)) return (TRUE);
+ if (is_floor_bold(floor_ptr, y, x)) return (TRUE);
return (FALSE);
}