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:
be21d66
)
[Fix] #38997 二重に代入していたのを修正 / Fixed double-substitution
author
Hourier
<hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 04:47:00 +0000
(13:47 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Sat, 25 Jan 2020 09:28:49 +0000
(18:28 +0900)
src/mspells1.c
patch
|
blob
|
history
diff --git
a/src/mspells1.c
b/src/mspells1.c
index
e99116b
..
b31027e
100644
(file)
--- a/
src/mspells1.c
+++ b/
src/mspells1.c
@@
-469,7
+469,7
@@
bool clean_shot(player_type *target_ptr, POSITION y1, POSITION x1, POSITION y2,
/* Check the projection path */
floor_type *floor_ptr = target_ptr->current_floor_ptr;
u16b grid_g[512];
- int grid_n =
grid_n =
project_path(target_ptr, grid_g, MAX_RANGE, y1, x1, y2, x2, 0);
+ int grid_n = project_path(target_ptr, grid_g, MAX_RANGE, y1, x1, y2, x2, 0);
/* No grid is ever projectable from itself */
if (!grid_n) return FALSE;