OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #38993 cur_wid/hgt を floor_type に取り込み width/heightに改名。 / Move cur_wid...
[hengband/hengband.git]
/
src
/
spells2.c
diff --git
a/src/spells2.c
b/src/spells2.c
index
1526098
..
e53f275
100644
(file)
--- a/
src/spells2.c
+++ b/
src/spells2.c
@@
-45,9
+45,9
@@
static bool detect_feat_flag(POSITION range, int flag, bool known)
if (d_info[p_ptr->dungeon_idx].flags1 & DF1_DARKNESS) range /= 3;
/* Scan the current panel */
if (d_info[p_ptr->dungeon_idx].flags1 & DF1_DARKNESS) range /= 3;
/* Scan the current panel */
- for (y = 1; y < cur
_hg
t - 1; y++)
+ for (y = 1; y < cur
rent_floor_ptr->heigh
t - 1; y++)
{
{
- for (x = 1; x <= cur
_wid
- 1; x++)
+ for (x = 1; x <= cur
rent_floor_ptr->width
- 1; x++)
{
int dist = distance(p_ptr->y, p_ptr->x, y, x);
if (dist > range) continue;
{
int dist = distance(p_ptr->y, p_ptr->x, y, x);
if (dist > range) continue;
@@
-3864,9
+3864,9
@@
void remove_all_mirrors(bool explode)
{
POSITION x, y;
{
POSITION x, y;
- for (x = 0; x < cur
_wid
; x++)
+ for (x = 0; x < cur
rent_floor_ptr->width
; x++)
{
{
- for (y = 0; y < cur
_hg
t; y++)
+ for (y = 0; y < cur
rent_floor_ptr->heigh
t; y++)
{
if (is_mirror_grid(¤t_floor_ptr->grid_array[y][x]))
{
{
if (is_mirror_grid(¤t_floor_ptr->grid_array[y][x]))
{