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:
7ffc3ee
)
マクロ等で射撃するとき、デフォルトのターゲットに実際の射程が
author
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 9 Jun 2002 13:40:34 +0000
(13:40 +0000)
committer
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 9 Jun 2002 13:40:34 +0000
(13:40 +0000)
考慮されていなかったバグ修正。
src/cave.c
patch
|
blob
|
history
diff --git
a/src/cave.c
b/src/cave.c
index
b4485fe
..
1408fea
100644
(file)
--- a/
src/cave.c
+++ b/
src/cave.c
@@
-4903,7
+4903,7
@@
bool projectable(int y1, int x1, int y2, int x2)
u16b grid_g[512];
/* Check the projection path */
- grid_n = project_path(grid_g,
MAX_RANGE
, y1, x1, y2, x2, 0);
+ grid_n = project_path(grid_g,
(project_length ? project_length : MAX_RANGE)
, y1, x1, y2, x2, 0);
/* No grid is ever projectable from itself */
if (!grid_n) return (FALSE);